A cooling fan includes a fan frame and an impeller. The fan frame includes a substrate, a sidewall connected to the substrate, and a lid connected to the sidewall and opposite to the substrate. An air inlet is formed in the lid. The substrate, the sidewall, and the lid together define at least one air outlet. The impeller is rotatably mounted in the fan frame. A plurality of bulges protrudes from an inner face of the sidewall and/or an inner face of the lid.