After being ordained as a priest, he participated in the missions all around America, the Canary Islands and Africa. He also preached in Andalusia.
Pedro de Santa María wrote Epístola ad totam Provinciam and Consideraciones o Arco Iris de Paz (1768). Besides, he left Comentarios del Génesis aplicados a la Virgen and Manual de catequización unpublished.