The development of risk assessments for the exposure of protected populations to noise from coastal construction is constrained by uncertainty over the nature and extent of marine mammal responses to man-made noise. Stakeholder concern often focuses on the potential for local displacement caused by impact piling, where piles are hammered into the seabed. To mitigate this threat, use of vibration piling, where piles are shaken into place with a vibratory hammer, is often encouraged due to presumed impact reduction. However, data on comparative responses of cetaceans to these different noise sources are lacking. We studied the responses of bottlenose dolphins and harbor porpoises to both impact and vibration pile driving noise during harbor construction works in northeast Scotland, using passive acoustic monitoring devices to record cetacean activity and noise recorders to measure and predict received noise levels. Local abundance and patterns of occurrence of bottlenose dolphins were also compared with a five-year baseline. The median peak-to-peak source level estimated for impact piling was 240 dB re 1 μPa (single-pulse sound exposure level [SEL] 198 dB re 1 μPa2 s), and the r.m.s. source level for vibration piling was 192 dB re 1 μPa. Predicted received broadband SEL values 812 m from the piling site were markedly lower due to high propagation loss: 133.4 dB re 1 μPa2 s (impact) and 128.9 dB re 1 μPa2 s (vibration). Bottlenose dolphins and harbor porpoises were not excluded from sites in the vicinity of impact piling or vibration piling; nevertheless, some small effects were detected. Bottlenose dolphins spent a reduced period of time in the vicinity of construction works during both impact and vibration piling. The probability of occurrence of both cetacean species was also slightly less during periods of vibration piling. This work provides developers and managers with the first evidence of the comparative effects of vibration and impact piling on small cetaceans, enabling more informed risk assessments, policy frameworks, and mitigation plans. In particular, our results emphasize the need for better understanding of noise levels and behavioral responses to vibration piling before recommending its use to mitigate impact piling.