A key feature of fish functional design is the presence of multiple fins that allow thrust vectoring and redirection of fluid momentum to contribute to both steady swimming and maneuvering. A number of previous studies have analyzed the function of dorsal fins in teleost fishes in this context, but the hydrodynamic function of dorsal fins in freely swimming sharks has not been analyzed, despite the potential for differential functional roles between the anterior and posterior dorsal fins. Previous anatomical research has suggested a primarily stabilizing role for shark dorsal fins. We evaluated the generality of this hypothesis by using time-resolved particle image velocimetry to record water flow patterns in the wake of both the anterior and posterior dorsal fins in two species of freely swimming sharks: bamboo sharks (Chiloscyllium plagiosum) and spiny dogfish (Squalus acanthias). Cross-correlation analysis of consecutive images was used to calculate stroke-averaged mean longitudinal and lateral velocity components, and vorticity. In spiny dogfish, we observed a velocity deficit in the wake of the first dorsal fin and flow acceleration behind the second dorsal fin, indicating that the first dorsal fin experiences net drag while the second dorsal fin can aid in propulsion. In contrast, the wake of both dorsal fins in bamboo sharks displayed increased net flow velocity in the majority of trials, reflecting a thrust contribution to steady swimming. In bamboo sharks, fluid flow in the wake of the second dorsal fin had higher absolute average velocity than that for first dorsal fin, and this may result from a positive vortex interaction between the first and second dorsal fins. These data suggest that the first dorsal fin in spiny dogfish has primarily a stabilizing function, while the second dorsal fin has a propulsive function. In bamboo sharks, both dorsal fins can contribute thrust and should be considered as propulsive adjuncts to the body during steady swimming. The function of shark dorsal fins can thus differ considerably among fins and species, and is not limited to a stabilizing role.