Gustine is a city in Merced County, California, United States. Gustine is located 29 miles west of Merced, at an elevation of 98 feet. As of the 2010 United States Census, the city population was 5,520, up from 4,698 at the 2000 census.