A wireless power supply apparatus for a capsule-type endoscope has three sets of coils that generate a magnetic field in directions that are orthogonal to each other, a gravity sensor that detects a gravitational direction, a coil selection section that selects a coil that generates a magnetic field in a gravitational direction that is detected by the gravity sensor, and a drive section that applies a current to the coil that the coil selection section selects.