Photocycloaddition of 2-cyclopenten-1-one with 2,5-dihydrofuran was performed in a microreactor using the liquid–liquid slug flow consisting of water and an organic solvent to give a photochemically unstable cyclobutane, which was successfully isolated by protection using an inner filtering agent in the organic solution.