Mosquito immunity studies have focused mainly on characterizing immune effector mechanisms elicited against parasites, bacteria and more recently, viruses. However, those elicited against entomopathogenic fungi remain poorly understood, despite the ubiquitous nature of these microorganisms and their unique invasion route that bypasses the midgut epithelium, an important immune tissue and physical barrier. Here, we used the malaria vector Anopheles gambiae as a model to investigate the role of melanization, a potent immune effector mechanism of arthropods, in mosquito defense against the entomopathogenic fungus Beauveria bassiana, using in vivo functional genetic analysis and confocal microscopy. The temporal monitoring of fungal growth in mosquitoes injected with B. bassiana conidia showed that melanin eventually formed on all stages, including conidia, germ tubes and hyphae, except the single cell hyphal bodies. Nevertheless, melanin rarely aborted the growth of any of these stages and the mycelium continued growing despite being melanized. Silencing TEP1 and CLIPA8, key positive regulators of Plasmodium and bacterial melanization in A. gambiae, abolished completely melanin formation on hyphae but not on germinating conidia or germ tubes. The detection of a layer of hemocytes surrounding germinating conidia but not hyphae suggested that melanization of early fungal stages is cell-mediated while that of late stages is a humoral response dependent on TEP1 and CLIPA8. Microscopic analysis revealed specific association of TEP1 with surfaces of hyphae and the requirement of both, TEP1 and CLIPA8, for recruiting phenoloxidase to these surfaces. Finally, fungal proliferation was more rapid in TEP1 and CLIPA8 knockdown mosquitoes which exhibited increased sensitivity to natural B. bassiana infections than controls. In sum, the mosquito melanization response retards significantly B. bassiana growth and dissemination, a finding that may be exploited to design transgenic fungi with more potent bio-control activities against mosquitoes. Melanization is an important immune response and wound healing mechanism in arthropods that leads to melanin formation and deposition on microbial and wound surfaces, respectively. In the Anopheles gambiae mosquito that transmits the malaria parasite Plasmodium, melanization is dispensable for parasite killing. Further, we have shown that in Anopheles gambiae this immune process does not seem to play a role in defense against bacterial infections, which questions the role of melanization in mosquito immunity and the microbial pressure that drove its evolutionary path. Here, we infected mosquitoes with the entomopathogenic fungus Beauveria bassiana to study the role of melanization in anti-fungal defense. We show that mosquito blood cells, as well as specific immune proteins present in the mosquito blood participate in the melanization response to Beauveria bassiana. Our results also reveal that melanization does not abort the growth of the fungus but rather retards significantly its proliferation. The hyphal body stages, which are freely circulating single cells that can disseminate the infection appear earlier in mosquitoes exhibiting a compromised melanization response than in control mosquitoes. These findings provide novel insights into Beauveria bassiana-Anopheles gambiae interactions, which may be exploited to design transgenic fungi with enhanced bio-control potential against mosquitoes.