Gibraltar is the closest airport (approx. 45 minute drive). Málaga is about a 1.5 hour drive but has the most connections. Sevilla and Jérez airports are other alternatives and are both about a 2 hour drive.

Gaucin is about a 35 minute drive from the Costa del Sol (A7/N340) and about a 25 minute drive from the AP7 toll motorway which connects to both the Málaga and Gibraltar airports. Car hire can be arranged in conjunction with your air travel arrangements. During the tourist (summer) season use of the toll road is recommended for the easiest route to Gaucin.
"We remained there the whole day, and at night we went in the direction of Gaucín. We expected to hear from Carmen. No one appeared." (Don José)

Chapter 3: Carmen by Prosper Mérimée. Translated into English by George Burnham Ives
El Pueblo Blanco de Gaucin village street Good directional signs within the village Hanging plants and hand-made signs in this charming village
The Gaucin train station is at Colmenar, about a 1/2 hour drive from the village. Trains leave several times a day to both coastal and inland stops.