Juan María Montalvo Fiallos was an Ecuadorian author and essayist.
Born in Ambato to José Marcos Montalvo and Josefa Fiallos, he studied philosophy and law in Quito before returning to his hometown in 1854. He held diplomatic posts in Italy and France from 1857 to 1859. A political liberal, Montalvo's beliefs were marked by anti-clericalism and a keen hatred for the two caudillos that ruled Ecuador during his life: Gabriel García Moreno and Ignacio de Veintemilla. After an issue of El Cosmopolita viciously attacked Moreno, Montalvo was exiled to Colombia for seven years. Moreno's assassination was attributed to Montalvo's writings. He was a dedicated champion of democracy and an enemy of the writer Juan León Mera.
In the late seventies Juan Montalvo was twice exiled to France, remaining there from 1879, as punishment for Las Catilinarias, the work that made him famous throughout intellectual circles in the United States, Europe and the rest of Latin America. Alongside full length books, Montalvo was an accomplished essayist, and his Siete Tratados and Geometría Moral were popular in Ecuador and were banned by Veintemilla.