A compact size dual band WIFI antenna using a metal rim surrounding camera module in the smartphone is proposed. The proposed antenna is designed as a multi-branch shaped planar inverted F antenna (PIFA) with a single feed and a single shoring pin. The great advantage of the proposed antenna is merit of space using existing components as a WIFI antenna. The proposed antenna corresponds to the application of IEEE802.11a/b/g/n/ac. The metal rim is composed of two parts. One is surrounding camera and the other is surrounding flash led. The first squared metal rim surrounding camera is for IEEE802.11b/g/n of which center frequency is 2.45 GHz. The second metal rim surrounding flash LED is for IEEE802.11a/ac/n of which center frequency is 5.5 GHz. A half lengths of circumference of each squared metal rim are 0.25 λ at 2.45 GHz and 5.5 GHz, respectively. Detailed design considerations of the proposed antenna are described and both experimental and simulation results are also presented and discussed.