This study uses infrared galaxy data from WISE and 2MASS surveys matched with optical data from the Pan-STARRS1 survey to search for a supervoid in the direction of the cosmic microwave background cold spot. Radial galaxy density profiles centered on the cold spot show a large underdensity extending over tens of degrees. Counts in photometric redshift bins within radii of 5 and 15 degrees show significantly low galaxy densities, at 5-6 sigma detection levels. This is consistent with a large 220 Mpc supervoid with an average density contrast of -0.14, centered at a redshift of 0.22. Such a supervoid could plausibly explain the observed cold spot in the cosmic microwave background.