One-day cricket took longer to fall into place. In his early ODI outings he struggled to build big innings, and on several occasions he was out before reaching ten. A turning point arrived when he made 75 against Zimbabwe at Galle, and from then on his returns in the 50-over game rose sharply.
His first ODI hundred came in 2022 against Australia, and that performance earned him the player of the match award. A year later, at the 2023 ICC World Cup Qualifiers, he hit centuries in consecutive matches, the first against Zimbabwe and the next against the West Indies. Neither of those opponents went on to secure a place at the World Cup.
With a proven capacity for long innings, Nissanka was seen as an important figure for Sri Lanka heading into the World Cup staged in India, where his familiarity with subcontinental pitches was expected to work in his favour.