A by-election was held for the New South Wales Legislative Assembly electorate of East Sydney on 15 July 1879 because Alexander Stuart resigned. Stuart had been appointed agent-general however he was unable to take up the position due to financial difficulties.