The relationship between real total contents of the major elements Na, Mg, Al, Si, P, S, K, Ca, Ti, Fe and the trace elements Ag, As, B, Ba, Co, Cr, Cu, Mn, Mo, Ni, Pb, Sb, Se, Sn, V, U, Zn in topsoil from the central part of Vilnius is analysed. The amounts of most elements were determined by energy-dispersive X-ray fluorescence, while amounts of Ag, B, Co were measured by optical atomic emission spectrophotometry. Two factors were distinguished according to major elements: anthropogenic (A) including Ca, Mg, Fe, P, S and clayey (C) including K, Al, Ti. Boron, Mn, Cr and U are significantly correlated with members of both factors, Sb with none of them and other trace elements either with all (Cu, Zn, Pb, Se, Ba, Ni, Co) or with separate (V, Ag, Sn, Mo, As) members of the A-factor. Only B, Mn, Cr, U (partly their additive index Z1) are influenced by the C-factor, while twelve other trace elements (also their additive index Z2) are influenced by the A-factor. The additive index Z of all 17 elements is also affected by the A-factor. Four groups of sites have been distinguished according to normal or higher contents of both factors. The majority of trace element anomalies are related to the sites affected by the A-factor.