High-voltage direct current (HVDC) subsea cables are used to transport power between locations and from/to nearshore and offshore facilities. HVDC cables produce magnetic fields (B-fields) that could impact marine fish. Atlantic haddock (Melanogrammus aeglefinus) is a demersal fish that is at risk of exposure to anthropogenic B-fields. Their larvae drift over the continental shelf, and use the Earth's magnetic field for orientation during dispersal. Therefore, anthropogenic magnetic fields from HVDC cables could alter their behavior. We tested the behavior of 92 haddock larvae using a setup designed to simulate the scenario of larvae drifting past a B-field in the intensity range of that produced by a DC subsea cable. We exposed the larvae to a B-field intensity ranging from 50 to 150 µT in a raceway tank. Exposure to the B-field did not affect the spatial distribution of haddock larvae in the raceway. Larvae were categorized by differences in their exploratory behavior in the raceway. The majority (78%) of larvae were nonexploratory, and exposure to the artificial B-field reduced their median swimming speed by 60% and decreased their median acceleration by 38%. There was no effect on swimming of the smaller proportion (22%) of exploratory larvae. These observations support the conclusion that the swimming performance of nonexploratory haddock larvae would be reduced following exposure to B-field from HVDC cables. The selective impact on nonexploratory individuals, and the lack of impact on exploratory individuals, could have population-scale implications for haddock in the wild.