H.R. 8511, the Ending Discrimination in Government Contracting Act, would eliminate federal contracting preferences currently granted to small businesses owned by women, minorities, and socially or economically disadvantaged individuals. The bill removes these preferences from the Small Business Act and related federal laws while preserving contracting advantages for veteran-owned businesses and companies in economically distressed areas, and it repeals the Minority Business Development Act of 2021 entirely. Additionally, the legislation establishes a broad prohibition on federal agencies from considering race, ethnicity, or sex in awarding contracts and grants, requiring all executive agencies to revise their rules, regulations, and guidance within 60 to 180 days to remove such considerations. The bill affects federal contracting across multiple agencies and would reshape how the government allocates business opportunities to small business owners. No specific funding amounts are specified in the legislation.