Gilroy ( /ɡɪlrɔɪ/) is the southernmost city in Santa Clara County, California, United States. The population was 48,821 at the 2010 census. Gilroy is well-known for its garlic crop and for the annual Gilroy Garlic Festival, featuring various garlicky foods, including garlic ice cream. Gilroy also produces mushrooms in considerable quantity.