Pejačević studied law in the Theresianum in Vienna. In 1845 he was appointed prefect (župan) of Bjelovar-Križevci County. During the Hungarian Revolution of 1848 he didn't support the Croatians' independence war and didn't take part in the Sabor's work, which stood by Josip Jelačić.