Havnar Bóltfelag (HB, lit. 'Harbour Football Club') is a Faroese professional football club, and is one of the oldest in the Faroe Islands. The club was founded in 1904, and is based in the city of Tórshavn. Home matches are played in Gundadalur and they compete in the Faroe Islands Premier League. The full name of the club is "Havnar Bóltfelag Tórshavn", which means "Port Football Club". The club was founded by port workers.
HB Tórshavn was founded in October 1904. The club's first board was elected in a meeting, on 14 November 1904. The board consisted of three people: Mads Andrias Winther, Joan Pauli Joensen and Jakup Mouritsen. The future mayor of Tórshavn (1909–12), Mads Andrias Winther, was HB's first chairman. HB's first match against TB Tvøroyri took place on 23 May 1909, in Tvøroyri. The match ended in a 2–2 draw. Two months later, on 18 July 1909, a second match was organized against TB Tvøroyri, this time held in Tórshavn. HB won the match 3–1. The first match against future rivals KÍ Klaksvík was held on 16 July 1911, which finished in a 3–3 draw.
In 1942, a national league was formed in the Faroe Islands. The first few seasons weren't very successful for HB. Later their results improved and they finished runners-up in 1948, 1949, 1953 and 1954. Then in 1955, HB won the double, by winning the league and the first ever national cup competition, beating KÍ Klaksvík in the final. HB went on to win many more trophies; despite this by 1970, KÍ Klaksvík were the most successful club in the Faroe Islands at the time. That year HB were due to play KÍ Klaksvík in the national cup final. But the final never took place, as KÍ refused to play the final in Tórshavn. HB was not named the winners of the cup that year, even though KÍ failed to appear. HB were the current holders at the time, after beating B36 Tórshavn in the cup final, the previous year. They finished runners-up in 1970 after KÍ Klaksvík won their 5th title in a row. It was the fourth time HB had finished runners-up in the league in the past 4 seasons. The following year it was HB v TB in the cup final, the match went ahead this time and HB won. In the final round of the league there was fighting in the match between HB and KÍ players. HB were the eventual winners of the league and KÍ finished runners-up. HB also won the cup in 1972 and 1973, making them 11 times winners, and winning the cup for 5 consecutive years. They also won the cup 5 times in a row, in the years between 1978 and 1982. HB are the only club in the Faroe Islands to achieve this, with other clubs only having won the cup 2 years consecutively. By this time they had won the Faroe Islands Cup many more times than all other clubs in the Faroe Islands, but KÍ still held the most league titles.
In 1992, clubs in the Faroe Islands took part in European competitions for the first time, after the Faroe Islands Football Association became a member of UEFA a couple of years earlier. HB Tórshavn made their European debut in 1993 against RAF Jelgava in the Cup Winners Cup qualifying round. HB lost the first leg 0–1 away from home, but due to problems with their travel to the Faroe Islands the opponents did not show up for the return leg and HB were awarded a 3–0 win. HB advanced into the first round, but were knocked out by FC U Craiova of Romania. This would turn out to be the only time HB Torshavn or any other Faroese club managed to get through the qualifying round(s) of any European Club Competition to date (June 2018). Since then HB has been involved in European competitions every season except for 2002–03 and 2012–13.
In 2003, HB won the league and equalled KÍ Klaksvík's record of 17 league titles. A year later HB won the league again and bettered KÍ's record, making HB Tórshavn the most successful team in the Faroe Islands, as they had now won the most national cups and won the most league titles.
HB won the league in 2013 and participated in the 2014–15 UEFA Champions League.
In November 2017, HB hired Heimir Guðjónsson, who had previously guided Fimleikafélag Hafnarfjarðar to five Icelandic championships, as manager. On 23 September 2018 the club won the Faroe Islands Premier League after defeating second placed KÍ, 2–1. With the victory, no team could catch HB even with four matches remaining.