Cross-shore velocities in the coastal ocean typically vary with depth. The direction and magnitude of transport experienced by meroplanktonic larvae will therefore be influenced by their vertical position. To quantify how swimming behavior and vertical position in internal waves influence larval cross-shore transport in the shallow (~ 20 m), stratified coastal waters off Southern California, we deployed swarms of novel, subsurface larval mimics, the Mini-Autonomous Underwater Explorers (M-AUEs). The M-AUEs were programmed to maintain a specified depth, and were deployed near a mooring. Transport of the M-AUEs was predominantly onshore, with average velocities up to 14 cm s−1. To put the M-AUE deployments into a broader context, we simulated > 500 individual high-frequency internal waves observed at the mooring over a 14-d deployment; in each internal wave, we released both depth-keeping and passive virtual larvae every meter in the vertical. After the waves' passage, depth-keeping virtual larvae were usually found closer to shore than passive larvae released at the same depth. Near the top of the water column (3–5-m depth), ~ 20% of internal waves enhanced onshore transport of depth-keeping virtual larvae by ≥ 50 m, whereas only 1% of waves gave similar enhancements to passive larvae. Our observations and simulations showed that depth-keeping behavior in high-frequency internal waves resulted in enhanced onshore transport at the top of the water column, and reduced offshore dispersal at the bottom, compared to being passive. Thus, even weak depth-keeping may allow larvae to reach nearshore adult habitats more reliably than drifting passively.