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'.

Kildare Hurling Team vs Down
Kildare LGFA vs Meath
Kildare Football Team vs Meath
Bohemians And Shamrock Rovers Go Head-To-Head In Tonight's League Of Ireland Premier Division
The Draws For Last-16 Of Europa League Have Been Made
Ballot To Elect Successor Of Jarlath Burns Included In Today's GAA Annual Conference At Croke Park
Friday Morning Sports Update
Kildare County Council To Host Equine Summit At Curragh Racecourse