John Hastings, 2nd Earl of Pembroke, KG (29 August 1347 – 16 April 1375), was an English nobleman and soldier who also held the title Baron Abergavenny. He was born in Sutton Valence, the posthumous son of Laurence Hastings, 1st Earl of Pembroke, and Agnes Mortimer.
He was married on 19 May 1359 in Reading to Margaret (d. 1361), daughter of Edward III of England. The couple had no children.
He afterwards married, in July 1368, Anne Manny (24 July 1355 – 3 April 1384), daughter of Sir Walter Manny. Anne gave birth to a son by Hastings.
Pembroke fought in the Castilian campaign of his former brother-in-law, Edward the Black Prince, in 1367.
He was created a Knight of the Garter in 1369. He was almost captured on a raid into Poitou that year, having refused to share command with Sir John Chandos, but Chandos heard of his plight and rescued him.
In 1370, he fought with distinction at the sack of Limoges by the Black Prince.
He was surprised by a Castilian fleet and sharply defeated at the Battle of La Rochelle (22 June 1372), his fleet being sunk or captured. He was taken prisoner and carried to Santander, and died in captivity in Picardy.
He was succeeded by his son, John Hastings, 3rd Earl of Pembroke, who had been born to Anne a few months after his capture.