A floating chemical dispenser is provided, which includes: a body portion having a first chamber for receiving solid chemicals, a second chamber for receiving a floating member, and at least one first hole for communicating the first chamber with an external environment, an opening is disposed at one end of the body portion, and the opening is communicated with the first chamber; and a cover, configured to close the opening of the body portion; wherein the cover is detachably connected with the body portion via a first locking mechanism, and the first locking mechanism has a locking position and an unlocking position, and is configured to move between the locking position and the unlocking position via pressing and rotating the cover by a user, so as to control locking or unlocking of the cover and the body portion. Therefore, safety performance of the floating chemical dispenser can be improved.