The article studies the problems of coexistence of superconductivity and magnetic ordering of copper sublattices in YBa2Cu3-xFexO7-x ceramics. It is known that in superconducting ceramics YBa2Cu3O7-z with orthorhombic lattice as the oxygen content decreases, the transition temperature in superconducting state Tc decreases, and at z>0.6 superconductivity disappears, the lattice becomes tetragonal and at the same time, antiferromagnetic ordering of sublattices Cu (2) appears. The substitution in ceramics of YBa2Cu3O7 part of copper atoms by iron atoms (i.e., the formation of a solid solution of YBa2Cu3-xFexO7+y) is accompanied by similar effects: as x increases, Tc decreases, at x>0.05 the orthorhombic lattice becomes tetragonal, at x>0.45 the superconductivity disappears. The most significant moment is the fact of coexistence in ceramics YBa2Cu3-xFexO7+y in the region of compositions 0.03 < x < 0.45 of superconductivity and magnetic ordering of iron atoms in copper nodes (the latter is established by Mossbauer spectroscopy on isotope 57Fe in a large number of works. However, it remains unclear whether the magnetic ordering of iron atoms in the YBa2Cu3-xFexO7+y lattice is related to the magnetic ordering of copper atoms