Baron Farnham, of Farnham in the County of Cavan, is a title in the Peerage of Ireland. It was created in 1756 for John Maxwell, who had previously represented Cavan Borough in the Irish House of Commons. John Maxwell's son, the second Baron, was created Viscount Farnham in 1760 and Earl of Farnham in 1763. Both titles were in the Peerage of Ireland but became extinct when he died childless in 1779. His brother and successor, the third Baron, was again created Viscount Farnham in 1781 and Earl of Farnham in 1785. These titles were also in the Peerage of Ireland. His son, the second Earl, sat in the House of Lords as an Irish Representative Peer from 1816 to 1823. However, he had no children and on his death in 1823 the viscountcy and earldom became extinct.