Can I put cooked food in the compost?

QUESTION: Can I put cooked food in the compost?

ANSWER: Cooked foods are good for composting and count as nitrogen-heavy “green” ingredients, but there are a few foods that should not be included in your compost. These include meat products, fish, grease, or dairy, as these materials will produce an unpleasant stench while they decompose and can also attract pests like rodents or maggots. Cooked foods that do not contain meat, fish, grease, or dairy are fine to include even if they are moldy and rotting.