In general, it is okay to add rotten and mouldy fruits and vegetables to your compost bin. However, if a fruit or vegetable has rotted due to damage caused by visible pests (e.g. insects), it should not be added to your compost bin. 

Did this answer your question?