This paper examines religious freedom and anti-discrimination laws in the United Kingdom and the United States, exploring the similarities and disparities between the two countries in terms of legal protection of religious rights and prevention of discrimination. At a time when global religious diversity and immigration issues are becoming more and more prominent, countries are facing new challenges in the relationship between religion and law. By means of comparative analysis, this paper first summarizes the legal frameworks of the two countries, and then explores the roles of their respective legal systems in protecting religious freedom and preventing discrimination in the light of typical cases. It is found that the UK prefers the influence of the European Court of Human Rights, while the US has constructed a unique legal system at the federal and state levels. Meanwhile, in the handling of cases, the United States is simply more inclined to protect the individual right to freedom of religion and impose severe restrictions on the government, while the United Kingdom is more willing to balance individual rights to freedom of religion with the common good of society. Finally, based on the results of the study, recommendations are made to improve the legislation and implementation of this aspect in each country.