In 538, during a major campaign between Western Wei and Eastern Wei, Wei Xiaokuan accompanied Emperor Wen, and he was made the governor of Hongnong Commandery (弘農, roughly modern Sanmenxia, Henan). He subsequently entered Luoyang (which Western Wei temporarily captured) with Dugu Xin, and for some time tried to defend the city, but eventually they were forced to withdraw from the vicinity of Luoyang.
In 538, during a significant conflict between Western Wei and Eastern Wei, Wei Xiaokuan accompanied Emperor Wen, and he was appointed as the governor of Hongnong Commandery (approximately modern-day Sanmenxia, Henan). He subsequently joined forces with Dugu Xin and attempted to defend Luoyang (which Western Wei temporarily occupied) before being compelled to retreat from the vicinity.