As long as it has a PCIE slot it will fit a GPU however your going to need to check how much space is in the case so you can find out if the card needs to be a ITX or low profile version. One last thing to check is your PSU, HP doesn't exactly puts the best PSU's in there systems, usually just enough to run a stock system. If your PSU is anything under 300W I would pass on any GPU until it's replaced.