Political career
By 1820, Marjoribanks was pursuing a political career. In that year's general election, he stood for Hythe and—with the help of a non-existent opposition, money, and patronage of the East India Company—he was "virtually impregnable". He declared independence from partisanship, however, stating to James Loch on the eve of the election that "I am not a Whig". Then, at the nomination, he was reported as declaring he:
did not hesitate to declare himself favourable to government, but he was not what is called ‘a thick and thin man’. Whenever administration proposed measures, which to his unbiased judgement appeared for the welfare of the country, they should have his support; but measures which he conceived to be of a contrary tendency, he would as firmly oppose; in short, he should look to measures and not to men.
Marjoribanks' election was successful but, as a Member of Parliament, he began voting with the Whig opposition on most major issues, joining Brooks's Club in 1823—but also voting with the Tories on issues including against the omission of arrears from the Duke of Clarence's grant in 1821. During this period he voted for Catholic emancipation, economy, retrenchment, and reduced taxation, as well as parliamentary reform—and was, in 1824, was described by James Abercromby as having "a very odd temper, which makes it difficult to deal with him".
He was returned unopposed at the 1826 general election, during which he again professed his independence. After this, he voted against the Duke of Clarence's grant and for Catholic emancipation. he voted for chancery reform, the disenfranchisement of Penryn, and the repeal of the Test Acts. On most major divisions on retrenchment, he voted with the Whig opposition.
By the 1830 general election, Marjoribanks was to all intents and purposes considered a Whig. He was returned for Hythe once more, alongside his cousin and chairman of the East India Company, John Loch, against opposition. After the election, he requested in an "anxious wish" from the Tory patronage secretary Joseph Planta for James Redsull to be made a Cinque Ports pilot. Planta noted:
Now though Mr. Marjoribanks is a Whig and has as yet voted against us, yet his Whiggery is very much modified (I think) of late, and if he chooses to come forward and ask this as a favour, it would perhaps (if it be a small favour) be a good thing to give it to him.
Marjoribanks' request was neither initially approved nor denied and a decision was made to consider this "at the proper time" as there was no appointment of pilots scheduled for that year. In the end, nothing came of the request.
In the press, Marjoribanks was now considered a "Wellington Whig" despite Tory ministers considering him a foe. In this period of his parliamentary career, he voted in favour of parliamentary reform, and for inquiries into grievances of West Indian sugar producers.
At the 1832 general election, Hythe was reduced to a single-member seat and Marjoribanks was again returned, opposed by a single Tory candidate. In the campaign, he expressed "cautious support" for the abolition of slavery, and described himself as "neither a republican, nor a radical". He held the seat until 1837, when he resigned by accepting the office of Steward of the Chiltern Hundreds, before standing unopposed for the seat again in 1841 and holding the seat until 1847 when he did not seek re-election.