This research presents a compact 5G beam-steering antenna using a substrate integrated waveguide (SIW) to realize a 2×2 Butler matrix and a slotted waveguide antenna array at 24 GHz. The design allows for significant beam steering capabilities from -29 degrees to +29 degrees with a gain of 6.34 dB and a bandwidth of 16.85%. The approach aims to enhance performance and reduce interference in 5G communications while maintaining compact size and cost-effectiveness.