An immigration lottery is a system used by some countries, including the United States, to allocate visas or permits to foreign nationals based on a random selection process. In the U.S., the H1B lottery is a well-known example, where a limited number of H1B visas for skilled workers are distributed through a random selection process due to high demand exceeding the annual cap.