Primary and secondary dengue virus infections elicit similar memory B cell responses but breadth to other serotypes and cross-reactivity to Zika virus is higher in secondary dengue.