Miniaturized cells can be used in photo-electrochemistry to perform water splitting. The geometry, process variables and removal of oxygen bubbles in these cells need to be optimized. Bubbles tend to remain attached to the catalytic surface, thus blocking the reaction, and they therefore need to be dragged out of the cell. Computational Fluid Dynamics simulations have been carried out to assess the design of miniaturized cells and their results have been compared with experimental results. It has been found that low liquid inlet velocities (~0.1 m/s) favor the homogeneous distribution of the flow. Moderate velocities (0.5-1 m/s) favor preferred paths. High velocities (~2 m/s) lead to turbulent behavior of the flow, but avoid bubble coalescence and help to drag the bubbles. Gravity has a limited effect at this velocity. Finally, channeled cells have also been analyzed and they allow a good flow distribution, but part of the catalytic area could be lost. The here presented results can be used as guidelines for the optimum design of photocatalytic cells for the water splitting reaction for the production of solar fuels, such as H 2 or other CO 2 reduction products (i.e., CO, CH 4 , among others).