Whole garlic bulbs and cloves can be frozen, but it changes the flavor and texture of the garlic. Frozen garlic lasts up to a year.
Frozen garlic cloves and bulbs may become mushy and lose some of the strong garlic flavor. Peel the cloves before freezing to freeze them individually, or leave them unpeeled to freeze the entire bulb. Dry-pack cloves of garlic in suitable containers or pre-freeze them by arranging a single layer of cloves on a cookie sheet, without any of the cloves touching, and placing the cookie sheet in the freezer. Once frozen, the cloves can go into a single container. This method allows the cloves to break apart easily as needed. You do not have to thaw garlic before adding it to food.