Various types of bacteria inhabit many surfaces thus causing problems which can have very strong impact on human health. Here we present a study of photophysical, mechanical, and antibacterial properties of curcumin/polyurethane nanocomposites prepared by swell‐encapsulation‐shrink method. The prepared nanocomposites have been characterized for degree of swelling, surface morphology, mechanical properties, chemical contents, photoluminescence, hydrophobicity, potentials for singlet oxygen generation, and antibacterial activity. Dynamic mechanical analysis has shown slight changes of glass temperature of curcumin/polyurethane nanocomposites due to blue light irradiation. It was found that nanocomposites have very strong photoluminescence, become photoactive upon blue light irradiation at 470 nm and generate singlet oxygen. Conducted antibacterial tests have shown very strong activity of these nanocomposites especially toward Escherichia coli. These bacteria strains have been eliminated completely only after 1 h irradiation by blue light. © 2018 Wiley Periodicals, Inc. J. Appl. Polym. Sci. 2019, 136, 47283.