List of Test cricket hat-tricks

In cricket, a hat-trick occurs when a bowler takes a wicket with each of three consecutive deliveries. Although hat-tricks can carry over between innings, meaning a batter can be dismissed twice as part of the same hat-trick, they do not carry over between matches. As of January 2025, this feat has only been achieved 48 times, by 44 different bowlers, in more than 2,000 men's Test matches, the form of the sport in which national representative teams compete in matches of up to five days' duration.
The first Test hat-trick was recorded on 2 January 1879, in only the third Test match to take place, by the Australia pace bowler Fred Spofforth, nicknamed "The Demon Bowler", who dismissed three England batters with consecutive deliveries at the Melbourne Cricket Ground. The most recent Test hat-trick was taken by Noman Ali in January 2025.
This article relates to men's cricket only. There have been three hat-tricks in women's Test cricket.
A player has taken two hat-tricks in the same Test match only once. Playing for Australia against South Africa in the first match of the 1912 Triangular Tournament at Old Trafford, Manchester, England, leg spinner Jimmy Matthews took a hat-trick in South Africa's first and second innings, both taken on 28 May 1912. He completed both hat-tricks by dismissing South Africa's Tommy Ward.
Only three other cricketers have taken more than one Test hat-trick: Australian off spinner Hugh Trumble (two years apart, between the same teams at the same ground), Pakistan fast bowler Wasim Akram (just over a week apart, in consecutive matches between the same teams) and England fast bowler Stuart Broad.
Australian Merv Hughes is the only bowler to take a hat-trick where the wickets fell over three overs. This was at WACA, Perth in 1988. He took a wicket (Curtly Ambrose) with the final ball of an over. With the first ball of his next over he took the final wicket of the West Indies innings (Patrick Patterson). He then removed the opener Gordon Greenidge with the first ball of the West Indies second innings. Even more unusually, Hughes's two first-innings wickets were not consecutive, since Tim May had bowled an over himself in between Hughes's two deliveries, and took the wicket of Gus Logie.
Two other hat-tricks have taken place over two innings rather than one, both taken by West Indians against Australia – Courtney Walsh and Jermaine Lawson. Walsh's, at the Gabba in 1988, was unusual since, like Hughes' (which was in the very next Test in the series), other wickets fell between the beginning and end of the hat-trick. After dismissing Dodemaide to finish off Australia's first innings, Walsh did not open the bowling in the Australian second innings, and in fact did not bowl until Australia had already lost two wickets and were 65 for 2: then with his first two deliveries he dismissed Wood and Veletta. Lawson's hat trick was at the Kensington Oval in 2003. He removed tail-enders Lee and MacGill in successive deliveries before Australia declared their first innings (at 605/9), and then took the wicket of Langer with the first delivery of Australia's second innings.
In the five-match series between a Rest of the World XI and England in 1970, a hat-trick was taken by South African Eddie Barlow in the fourth match, at Headingley (the last three of four wickets in five balls). These matches were considered to be Tests at the time, but that status was later removed.
England and Australia combined have taken over half of all Test match hat-tricks to date, 26 of 48.