McLachlan stood for election in the Selwyn electorate for the Canterbury Provincial Council, but was defeated by Edward Jollie.

McLachlan unsuccessfully contested the 1883 by-election for Selwyn, coming third.
He then unsuccessfully contested the Ellesmere electorate in the 1890 election, coming second and being beaten by John Hall.

He represented the Ashburton electorate in the House of Representatives for twelve years (1893–1896; 1899–1908).
He came second to Edward George Wright in the 1896 election, but Wright retired in 1899.

He was a colourful character in Parliament.

"The representative of Ashburton", wrote a newspaper reporter, "is about the wildest looking specimen in the Parliamentary collection.
But if he is in the rough to gaze on, he can give 'points' to some more ornamental members in the matter of ability and originality of thought and expression.
He is a sturdily built, carelessly dressed man, with a large head, made to look larger by the wild disorder of a huge shock of curly hair.
He is a farmer and might have stepped out of his market trap into his place in the House.
He is, as a rule, a breezy, happy-go-lucky sort of member with a good sense of humour and a fine stock of anecdotes and a great admiration for and acquaintance with the writings of Robert Burns."

He was a leading Canterbury Presbyterian, and was known for his love of whisky.
On occasions he spoke on the platform or in the house while intoxicated and made a fool of himself, and in 1894 he fell into Wellington Harbour when he mistook the lights of a ship for the lights outside a chemist's shop where he had lodgings.
In 1907 he was 'almost certainly' the subject of a complaint by J. T. Marryat Hornsby to the Speaker about his language and his intoxicated condition in the house, which the Premier promised to have put right.
McLachlan stood for election in the Selwyn electorate for the Canterbury Provincial Council, but was defeated by Edward Jollie.
McLachlan unsuccessfully contested the 1883 by-election for Selwyn, coming third. He then unsuccessfully contested the Ellesmere electorate in the 1890 election, coming second and being beaten by John Hall.
He represented the Ashburton electorate in the House of Representatives for twelve years (1893–1896; 1899–1908). He came second to Edward George Wright in the 1896 election, but Wright retired in 1899.
He was a colourful character in Parliament.
"The representative of Ashburton", wrote a newspaper reporter, "is about the wildest looking specimen in the Parliamentary collection. But if he is in the rough to gaze on, he can give 'points' to some more ornamental members in the matter of ability and originality of thought and expression. He is a sturdily built, carelessly dressed man, with a large head, made to look larger by the wild disorder of a huge shock of curly hair. He is a farmer and might have stepped out of his market trap into his place in the House. He is, as a rule, a breezy, happy-go-lucky sort of member with a good sense of humour and a fine stock of anecdotes and a great admiration for and acquaintance with the writings of Robert Burns."
He was a leading Canterbury Presbyterian, and was known for his love of whisky. On occasions he spoke on the platform or in the house while intoxicated and made a fool of himself, and in 1894 he fell into Wellington Harbour when he mistook the lights of a ship for the lights outside a chemist's shop where he had lodgings. In 1907 he was 'almost certainly' the subject of a complaint by J. T. Marryat Hornsby to the Speaker about his language and his intoxicated condition in the house, which the Premier promised to have put right.
John McLachlan (politician)