A new kind of silver indium tungsten oxide (AgIn(WO4)2) mesocrystals with high hierarchy can be synthesized by a microwave-assisted approach, which shows high and selective photocatalytic activity for the degradation of different organic dyes under UV and visible light irradiation.