Aguilar made his debut for Panama in an October 2005 FIFA World Cup qualification match against Trinidad and Tobago and has, as of 15 March 2015, earned a total of 33 caps, scoring 10 goals. He participated in the 2005 FIFA World Youth Championship and was a member of the squad, but did not play, in the 2007 CONCACAF Gold Cup. Aguilar was also part of the team that won the 2009 UNCAF Nations Cup in Honduras.