If you are on a very tight budget, then any motherboard that is based on the H310 chipset, such as the ASRock H310CM-DVS, is a great budget motherboard for the i5-7400 and other 7th-generation CPUs.