Hi ohmibod. Yes, it has compass. If you want to know more, please visit Sony Xperia XA1 page here in The Informr.