This question already has an answer here:
I'm an American citizen who has been living in Spain since last September on a type D student visa. My visa expires this Thursday, September 12. As I understand it, I have an additional 90 days in the Schengen zone. I plan on moving back to the US after these 90 days are done.
What I'm wondering is if I can make a short trip to the UK during these 90 days, and then re-enter into Spain? I know UK is not Schengen. I've read that as an American passport holder, you are allowed 90 days within a 180 day period. But does this 180 period exclude the whole year I've been living in Spain on the student visa? I don't think I will have a problem entering the UK, but I'm scared about not being allowed back into Spain.
Thanks for any insight.