Sporting CP
On 13 July 2023, Gyökeres signed a five-year contract with Primeira Liga side Sporting CP, who paid a club record transfer fee of €20 million (plus €4 million in bonuses) for him. Coventry are also entitled to payment of 10–15% from a future transfer, and the release clause was set at €100 million.
On 12 August, he made his debut for the club, starting and scoring twice in a 3–2 league victory at home to Vizela. On 21 September, Gyökeres made his debut in European competitions, starting and scoring in a 2–1 victory away at Sturm Graz, in the UEFA Europa League group stage. On 26 October, he was shown the first ever red card of his club career, seven minutes into Sporting CP's visit to Raków Częstochowa in a UEFA Europa League group stage match. On 2 November, on his Taça da Liga debut, Gyökeres scored a hat-trick in a 4–2 home victory over Farense. Ten days later, he scored in a 2–1 league loss away at local rivals Benfica. On 26 November, in his Taça de Portugal debut, Gyökeres came on as a second-half substitute and scored Sporting's last goal in an 8–0 home rout over Campeonato de Portugal side Dumiense. On 19 December, he scored and made an assist in a 2–0 league victory at home to rivals Porto.
On 5 January 2024, Gyökeres provided four assists in a 5–1 league victory at home to Estoril. On 17 March, he scored his first Primeira Liga hat-trick in a 6–1 victory over Boavista. Between September and January, Gyökeres scored thirteen goals and provided six assists, being named the league's Player of the Month and Forward of the Month for five consecutive months. On 29 April, with Sporting two goals down, he scored a brace in the 87th and 88th minutes in a 2–2 draw away against Porto at the Estádio do Dragão to ensure Sporting stayed on top of the league table, five points ahead of rivals Benfica. At the end of the month, Gyökeres was again named the league's Player of the Month and Forward of the Month.
On 5 May, Sporting mathematically secured their 20th Primeira Liga title, following Benfica's defeat to Famalicão, and Gyökeres won the Bola de Prata award, after he finished his first season at the club as the Primeira Liga Top scorer with 29 goals, scoring a brace on Sporting's final league match of the season, against Chaves on 18 May, to become the second Swedish player to win the top scorer award after Mats Magnusson in 1989–90. He was also named the best player of the Primeira Liga and was included in the Best XI. On 28 May, two days after his appearance for the club in the Portuguese Cup final, Gyökeres underwent surgery on his left knee in Lisbon.
Gyökeres made his return from injury on 3 August 2024, assisting twice in the 4–3 loss to rivals Porto in the 2024 Supertaça Cândido de Oliveira. He scored seven times in the four league matches that month, including a hat-trick in a 5–0 win away to Farense on 23 August. In the process, he became the league highest top scorer in the 21st century, after four matchweeks. Gyökeres also earned the league's Player of the Month and Forward of the Month awards for the month of August. On 17 September, in his UEFA Champions League debut, he also scored his first goal in the competition, opening the scoring in their 2–0 victory over Lille, being awarded man of the match, during the inaugural matchday of the newly formatted Champions League league phase.
On 1 November, Gyökeres scored four goals in a single match during a 5–1 rout against Farense, with his first-half hat-trick tying Beto Acosta's feat reached in the 2000–01 campaign. Four days later, he became the second Swedish player (after Zlatan Ibrahimović) and the first Sporting player to score a hat-trick in the Champions League era in a 4–1 victory over Manchester City. On 16 December, he was awarded the Golden Ball (Guldbollen), the annual award for best Swedish footballer in 2024. On 11 January 2025, he scored a penalty in the Taça da Liga final, which Sporting eventually lost on penalties following extra time. By the end of the month, Gyökeres suffered a hamstring injury, leading him to start only one league match during the months of January and February, and missing some crucial games including their final Champions League league phase match against Bologna and the knockout phase play-offs against Borussia Dortmund, which Sporting ended up losing 3–0 on aggregate.
On 3 March, Gyökeres scored twice in a 3–1 league victory against Estoril, and with those goals, he became the first player to have scored against every Primeira Liga team, he has faced in a single season. After two months, he fully recovered from his injury, six days later, adding another brace against Casa Pia by the same scoreline. Hours before the match, it was reported that he made a gentlemen's agreement with Sporting president Frederico Varandas that would allow him to leave in the summer. At the end of the month, Gyökeres was named the Primeira Liga Player of the Month. On 27 April, he scored four goals – his second time that season – in a 5–0 league win over Boavista. With his four goals, Gyökeres leapfrogged Bas Dost's 93 goals to become the second-highest all-time foreign goalscorer in Sporting's history. He also became the first player to score more than 35 goals in the Primeira Liga since Mário Jardel in the 2001–02 season.
On 10 May, in his 100th appearance for Sporting, he assisted Francisco Trincão's goal in a draw against Benfica in the Lisbon derby, which secured Sporting's spot at the top of the league table. Seven days later, he scored the winning goal in a 2–0 victory over Vitória de Guimarães as Sporting won the league; this was Gyökeres's second consecutive Primeira League title. With 39 goals scored, he finished the season as the Primeira Liga top scorer – for the second consecutive season – also winning his second Bola de Prata and the league's Player of the Year awards. On 25 May, in the Taça de Portugal final against Benfica, he scored from the penalty spot in the 11th minute of added time, to tie the game 1–1 and send it to extra time. Sporting eventually won the match 3–1, winning their first domestic double since the 2001–02 season.
Following the end of the season, Frederico Varandas confirmed that Gyökeres could leave the club for less than his contractual release clause, as the player was linked with a transfer to the Premier League.