What type of router are you using at home? If it's a 5 gHZ router with no 2.4 ghz enabled then, that could be an issue. If you have the standard 2.4ghz band router, then it's something else. Such as, your router not accepting the phones connection 'cause you mentioned it works on some wifi but, not all. Or, it could be the phone itself. If the problem persists and a factory data reset doesn't clear it up, take it to MetroPCS and complain they gave you a phone with faulty wifi or some crap and get a new device lol