Layered magadiite and zeolites Y containing framework Co or small CoO clusters in the pores have been synthesized and tested as photocatalysts for water splitting, in the absence and presence of methanol, upon UV or simulated sunlight irradiation; the best performing material was Co-magadiite.