A microfluidic photoreactor for treating excess bilirubin in blood, having: a microfluidic channel module; an illumination module comprising one or more illumination sources disposed about the microfluidic channel module and configured to illuminate blood passing through at least one microfluidic channel of the microfluidic channel module; and a heat exchanger module coupled to the at least one microfluidic channel module, wherein the heat exchanger module is configured to extract heat from the at least one microfluidic channel. A system including a microfluidic photoreactor and a method of treating excess bilirubin in blood.