The invention relates to an LED beacon lighting system with a cooling function for a ship. The LED beacon lighting system comprises a lighting device, the lighting device comprises a floating block, a support column, a lighting mechanism, a photoelectric mechanism, a processor and a storage battery, the photoelectric mechanism comprises a rotary assembly, a sleeve tube, a rotary plate and a photoelectric assembly, the photoelectric assembly comprises a photovoltaic panel, a horizontally-moving unit, a horizontally-moving block, a support rod and two hinging units, and the lighting mechanism comprises a top plate, a light shell, a base plate, a lamp bulb and a cooling assembly. According to the LED beacon lighting system with the cooling function for the ship, solar light can be fully absorbed to conduct photovoltaic power generation through the photoelectric mechanism, the photovoltaic power generation amount of a sunny day is increased, the lighting brightness of the lamp bulb in night is guaranteed, furthermore, a water bag abuts against the lower part of the base plate through a support unit in the lighting mechanism, seawater in the water bag is convenient to replace through a water pump, heat suction and cooling are continuously and conveniently conducted on the base plate and the lamp bulb, the service life of the beacon lamp is prolonged, and thus the practicability of the device is improved.