A core–shell structured Ag/AgBr@Fe2O3 composite was prepared successfully. It has magnetic properties, highly efficient photocatalytic activity and antibacterial ability.