Spintronics holds great potential for next-generation high-speed and low–power consumption information technology. Recently, lead halide perovskites (LHPs), which have gained great success in optoelectronics, also show interesting magnetic properties. However, the spin-related properties in LHPs originate from the spin-orbit coupling of Pb, limiting further development of these materials in spintronics. Here, we demonstrate a new generation of halide perovskites, by alloying magnetic elements into optoelectronic double perovskites, which provide rich chemical and structural diversities to host different magnetic elements. In our iron-alloyed double perovskite, Cs2Ag(Bi:Fe)Br6, Fe3+ replaces Bi3+ and forms FeBr6 clusters that homogenously distribute throughout the double perovskite crystals. We observe a strong temperature-dependent magnetic response at temperatures below 30 K, which is tentatively attributed to a weak ferromagnetic or antiferromagnetic response from localized regions. We anticipate that this work will stimulate future efforts in exploring this simple yet efficient approach to develop new spintronic materials based on lead-free double perovskites.