In this letter, a surface-mount planar inverted-F antenna (PIFA) is proposed for the 5G mmWave system using ball grid array packaging (BGA). To meet the requirement of cost-effectiveness, the proposed antenna element is designed on a single FR4 layer to achieve low cost. To achieve a compact size, the BGA packaging is used on the proposed antenna element. Finally, the size of the antenna prototype is only 4.5 mm × 4.5 mm × 1.3 mm. Besides, the surface-mount feature allows the proposed antenna to be integrated with other devices in the same system package. The simulation and measurement results are discussed in detail. The measurement results show that the impedance bandwidth of −10 dB is 15.3% (24.7-29.6 GHz), and the peak gain is 5.85 dBi at 28 GHz. The proposed PIFA can be used in the 5G NR bands N257 (26.5-29.5 GHz), .