Many materials used for making compost are contaminated with weed seeds. Late cut hay will certainly contain weed seeds. Straw can be examined for fruiting stalks of weeds. All manure other than poultry manure should be considered contaminated unless you have tested it. Horse manure and manure from other animals that have access to weedy pastures or pastures along roadsides are most likely to be contaminated with weed seeds.
In general, it is easier to use weed free materials to make compost than it is to try to kill weed seeds during the composting process. The problem with adding weedy compost to your garden is rarely that you will be immediately overwhelmed with weeds: usually the weed seed density of garden soil is higher than that of manure or poorly made compost. Rather, the problem is that you may introduce some new pernicious weed species that will cause management problems for years to come.
You can test manure for weed seeds by mixing several quarts of manure taken from various parts of the pile with potting mix in a 1:1 ratio and spreading it in flats. Keep the flats warm during the day and cool but not cold at night. For example, run the test inside in the winter, outside in the summer and in a cold frame during the spring or fall. Water the flats regularly, and observe any weed seedlings that emerge over the following two to three weeks. This test will usually show if weed seeds are present, but it may not accurately predict their density since some seeds may be dormant.
In general, the bigger the compost pile, the more heat it produces … and heat kills seeds, even weed seeds.
A compost pile that gives off water vapor is working hard to kill weed seeds. Source: Anatomy of Living, http://www.youtube.com
*Note that such temperatures will also kill any weed roots and rhizomes placed in the compost. Two birds with one stone!
The compost bins commonly sold generally can’t hold enough material to ensure high temperatures. If you’re using one, you’ll have to resort to other methods if you want to kill weed seeds in your compost.
A Big, Hot Pile
It’s important to understand is that weed seeds* can only germinate when exposed to light. If you are concerned that your compost might contain viable weed seeds, simply bury it when you use it, covering it with soil or, if you apply it to the surface, cover the compost with mulch. Problem solved!