You are required by law to have a fire extinguisher on board if your boat has an engine, closed compartments, a double bottom that is not sealed to the hull, closed living spaces or permanently installed fuel tanks.