An electronic device includes an antenna including a ground part, a feeding part, and a radiator and a first switch interposed between the feeding part and the radiator. A signal supplied through the feeding part is transmitted through a first path, a second path, or a third path that connects the feeding part to the radiator. The first switch is configured to change a connection state of the second path and the third path, and the third path includes a variable capacitor.