After graduating from the Chulachomklao Royal Military Academy, Prayut served in the 21st Infantry Regiment, which is granted Royal Guards status as the Queen's Guards ().
Prayut was the chief of staff of the Royal Thai Army from 2008 to 2009, and in 2009 he was appointed honorary adjutant to the king.