A by-election was held for the New South Wales Legislative Assembly electorate of Hartley on 21 April 1876 because the Committee of Elections and Qualifications found that Thomas Brown had an office of profit under the crown and declared that his seat was vacant.