A by-election was held for the New South Wales Legislative Assembly electorate of West Sydney on 18 October 1865 because of the resignation of John Robertson due to financial difficulties.