Optical cavitation can be induced by short pulse lasers focused into a solution with a low absorption coefficient or using a continuous-wave laser focused into highly absorbent solutions. In this work, we report the generation of cavitation bubbles in ethanol using a continuous-wave fiber optic laser with emission at 450 nm wavelength. Silver and copper nitrate nanoparticles were immobilized on the flat end-face of a multimode optical fiber tip using the photodeposition technique and then immersed into the solution. Laser light transmitted through the optical fiber is strongly absorbed by both nanoparticles causing an abrupt increase in temperature around the tip of the optical fiber, reaching the spinodal limit of ethanol (∼187 °C). At this temperature, an explosive phase transition (liquid–gas) occurs causing the generation of a microbubble, which grows until reaches its maximum radius (∼1072 μm in 132 µs) and subsequently collapses, emitting a shock wave. The dynamic behavior of the gas bubble was studied as a function of the laser power using a high-speed video camera, and the shock wave emitted immediately after the bubblés collapse was detected by a microphone. The pressure of the shock wave was analyzed photodepositing different thin films of silver nanoparticles at the tip of the optical fiber, causing optical attenuations of 1, 3, 5, and 7 dB. The experimental results obtained showed that when a thin film of copper nitrate nanoparticles was photodeposited on a film of silver nanoparticles (5 dB), the pressure of the shock wave increases up to ∼ 13-fold, in comparison, if we use only one film of silver nanoparticles. Energetic shock waves have potential applications in a variety of areas such as medicine, biological sciences, material processing, liquid microjets generation, among others.