Yes, the i5 9400f is compatible with the B360-f motherboards. However, you need to buy a discrete GPU for the display to work.