Is it only when you start it for the first time in the morning or if it has been sitting for a while? Mine just started doing this also, I am pretty sure it is the lifters ticking. I asked the dealership about it when I had it in for service and they said it is normal for an Xterra to do it after 70K miles.