Try actually CLEANING the bilge
A wet bilge is a dark stagnant pond, a swamp in fact. And it behaves like one, growing a variety of molds, fungi and bacteria—some that thrive in dark stagnant water, others that just like damp dark places. The warmer the weather and water, the faster they grow. Add some dead and decaying sea water micro-organisms, dirt, food particles, rain water, wash water, hot weather and humidity, plus a little oil or diesel, and you have a real primordial soup…no wonder it stinks!Most people’s approach to bilge cleaning consists only of throwing some "miracle" cleaning product and/or bleach into that soup when it starts to stink and calling it done. I’ve never understood why they think that’s all there is to it. They wouldn’t just add some detergent and bleach to a bathtub full of dirty bath water, drain it and call the bathtub clean. No one would ever even think of skipping the rinse cycle in the clothes washer or the dishwasher, or just pulling the plug in a sinkful of dirty dirty dishwater...so why would anyone think it’s possible to get a bilge clean without rinsing all the dirty water out of it? I suspect that laziness may be one of the reasons. The directions on bilge cleaners may be another; they don’t mention rinsing, only adding their product and allowing the bilge pump to pump the dirty water overboard, assuming that anyone smart enough to own a boat would figure out for himself that the bilge needs rinsing out afterward. And if you really want to do it right, you need to dry it out completely too... use a hand pump and a sponge to get what the bilge pump leaves behind, and leave the hatches open so that plenty of fresh air can circulate in it. Once a year should be enough to keep most boats smelling fresh (the best time to do it is in the spring as part of full recommissioning), although it may be necessary to clean the bilge two or three times a year in tropical climates.