Compost can take anywhere from a few weeks to several months to decompose, depending on the composting method and environmental conditions.