Guaymas (Spanish pronunciation: [ˈɡwajmas]) is a city and municipality located in the southwest part of the state of Sonora in northwestern Mexico. The city is located 117 km south of the state capital of Hermosillo, and 242 miles from the U.S. border, and is the principal port for the state. The municipality is located in the Sonora Desert and has a hot, dry climate and 117 km of beaches. The municipality’s formal name is Guaymas de Zaragoza and the city’s formal name is the Heróica Ciudad de Guaymas.