A by-election was held for the New South Wales Legislative Assembly electorate of East Sydney on 17 February 1866 because of the resignation of John Caldwell.