It’s not actually that different for the US – a child born to American parents outside the US has automatic US citizenship. Imagine how difficult it would make things if they weren’t!
Likewise a child born in the US to foreign parents is entitled to the citizenship of their parents. The only difference is the US allows them to also claim US citizenship.
Latest Answers