The Wales full back has made 101 appearances for his country and played four tests for the British and Irish Lions
The Welsh rugby union player's final game will be against the Barbarians in November.
In a statement, Halfpenny said: 'After having time to reflect after the Rugby World Cup campaign, it’s with a heavy heart that I’ve decided it’s time for me to step away from international rugby'.

Full Fixture Schedule In Tonight's SSE Airtricity Men's Premier Division
Chelsea Fined And Given Ban For Historical Breaches Of Financial Rules
Monday Lunch Sport Update
Andy Farrell To Discuss Extension Of Contract With The IRFU
Monday Morning Sports Update
Kildare in Relegation Battle After Cork Defeat
Venue Switch for Kildare v Roscommon Camogie
Gaelic Warrior Has Won The Cheltenham Gold Cup