The keyboard and mouse are independent of each other. So as long as you have an usb port for both your mouse and keyboard (which you should have plus a few extra), yes. This mouse will work with your K520 wireless keyboard, and any other keyboard you may purchase in the future.