Polyoxometalates (POMs) have gained significant research attention because of their excellent properties in photocatalytic (PC) hydrogen production. Exploring POM-based compounds for heterogeneous photocatalysis is an ongoing task. Here, we obtain a water-insoluble inorganic-organic hybrid compound, (P2W18O62)3(C12N3H10)6(C12N3H11)6·9.5H2O (P-PW), formed by Dawson-type POM P2W18O626- (P2W18) anions and protonated 2-(pyridin-4-yl)-1H-benzo[d]imidazole (PHB) cations via noncovalent interactions. In the presence of the sacrificial agent triethanolamine, P-PW exhibits a PC H2 generation rate of 0.418 mmol/g/h, surpassing that of P2W18 and PHB by 15 and 17 times, respectively. This enhancement in PC performance of P-PW can be attributed to its band structure change from the precursor compounds, leading to increased light absorption and therefore more efficient PC hydrogen production.