Rafael Moya Murillo (24 October 1799 – 15 November 1864) was a Costa Rican businessman and politician who served as Acting Head of State of Costa Rica from 1844 to 1845.
He was the son of José Moya y Saborido and Micaela Murillo y Rojas. He worked as a farmer and became one of the largest coffee growers in the province of Heredia, and he also took an interest in mining and trade. He began his public life on 23 June 1829 with his appointment as a substitute magistrate.
In 1844 he was elected to the Costa Rican Senate. As the oldest senator, he was temporarily placed in charge of the country as Head of State on 29 November 1844 and held that position until 30 April 1845. He received votes in the presidential election of 1847, and a considerable number of electors supported his presidential candidacy in the election of 1849, which was ultimately won by Juan Rafael Mora Porras.
He died in Heredia, Costa Rica, on 15 November 1864.