He was born in Alella (a small town near Barcelona). A supporter of Spanish republican leader Ruiz Zorilla, Ferrer was exiled to Paris with his wife and children in 1885. Divorcing his first wife in 1899, he remarried a rich Parisian teacher some time after.