Portugal is the westernmost country of Europe . It is bordered by the Atlantic Ocean to the west and south and by Spain to the north and east . Portugal is the westernmost country of Europe , and is bordered by the Atlantic Ocean to the west and south and by Spain to the north and east .