In this work, we introduce a method for finding exact solutions to the vacuum Einstein field equations in higher dimensions from a given solution to the chiral equation. When considering a n+2-dimensional spacetime with n commutative Killing vectors, the metric tensor can take the form g^=f(I¨,I^¶)(dI¨2+dI^¶2)+gI^¼I^½(I¨,I^¶)dxI^¼dxI^½. Then, the Einstein field equations in vacuum reduce to a chiral equation, (I¨g,zg−1),zˉ+(I¨g,zˉg−1),z=0, and two differential equations, (lnfI¨1−1/n),Z=I¨2tr(g,Zg−1)2, where g∈SL(n,R) is the normalized matrix representation of gI^¼I^½, z=I¨+iI^¶ and Z=z,zˉ. We use the ansatz g=g(I^¾a), where the parameters I^¾a depend on z and zˉ and satisfy a generalized Laplace equation, (I¨I^¾,za),zˉ+(I¨I^¾,zˉa),z=0. The chiral equation to the Killing equation, Aa,I^¾b+Ab,I^¾a=0, where Aa=g,I^¾ag−1. Furthermore, we assume that the matrices Aa commute with each other; in this way, they fulfill the Killing equation.