We present broadband photometry and photometric redshifts for 187,611 sources located in ~0.5 deg2 in the Lockman Hole area. The catalog includes 388 X-ray-detected sources identified with the very deep XMM-Newton observations available for an area of 0.2 deg2. The source detection was performed on the R c-, z'-, and B-band images and the available photometry is spanning from the far-ultraviolet to the mid-infrared, reaching in the best-case scenario 21 bands. Astrometry corrections and photometric cross-calibrations over the entire data set allowed the computation of accurate photometric redshifts. Special treatment is undertaken for the X-ray sources, the majority of which are active galactic nuclei (AGNs). For normal galaxies, comparing the photometric redshifts to the 253 available spectroscopic redshifts, we achieve an accuracy of σΔz/(1 + z) = 0.036, with 12.6% outliers. For the X-ray-detected sources, compared to 115 spectroscopic redshifts, the accuracy is σΔz/(1 + z) = 0.069, with 18.3% outliers, where the outliers are defined as sources with |z phot - z spec| 〉 0.15 × (1 + z spec). These results are a significant improvement over the previously available photometric redshifts for normal galaxies in the Lockman Hole, while it is the first time that photometric redshifts are computed and made public for AGNs for this field.