Macharaviaya is a municipality in the province of Málaga in the mountains of the autonomous community of Andalusia in the south of Spain.
Its name is derived from Arabic: مَشْجَر أَبِي يَحْيى, romanized: mašjar abī yaḥyā, meaning "Abu/Abi Yahya's Farm/Grove".
His son Bernardo, who was born in the village, became Governor of Louisiana and captured Baton Rouge, Mobile and Pensacola from the British during the American Revolution.
Some Spanish and foreign artists, ceramicists, painters and writers live among the villagers.
Every year in August, Macharaviaya hosts a festival honoring the patron saint of the village, Bernard of Clairvaux.