A Black homeowner is suing Wells Fargo, claiming discrimination.

A Black homeowner who recently sought to refinance his mortgage with a new loan from Wells Fargo is suing the bank, claiming racial discrimination.

The customer, Aaron Braxton, is tying his complaint to a news report this month that the bank denied more than half of all Black refinancing applicants in 2020 — a far higher rate than other banks, according to a lawsuit filed late Friday in federal court in the Northern District of California.

In the lawsuit, Mr. Braxton claims that the bank’s lending algorithms have amplified the U.S. financial system’s historically racist treatment of Black customers. Wells Fargo’s decisions to place its branches predominantly in white neighborhoods have also added to the harm, Mr. Braxton said in the suit.

“The disparity between Wells Fargo’s treatment of Black American applicants and non-Black American applicants is significant and shocking,” lawyers for Mr. Braxton wrote in the complaint, which includes a request that the lawsuit be certified as a class action so that any similarly harmed people can be covered by its outcome.

“Mr. Braxton was given the runaround to such an extent that it took him over nine months to refinance his federally backed mortgage loan.”

Paul Turner, a Wells Fargo spokesman, said the bank used the same underwriting practices for all customers, regardless of their race or ethnicity.

“In 2020, Wells Fargo helped more Black homeowners refinance their mortgage than any other large bank,” Mr. Turner said in a statement emailed to the The New York Times. He declined to comment on Mr. Braxton’s lawsuit.

The lawsuit cites a recent analysis by Bloomberg of data that banks regularly report to the federal government. Under the Home Mortgage Disclosure Act, banks have to report the details of every home loan application they receive, including the borrower’s race, gender and ZIP code, and whether the loan was approved or denied. Bloomberg’s analysis, which was published this month, showed that Wells Fargo had approved a much lower percentage of refinancing applications than its peers.

It found that the bank had accepted just 47 percent of all Black borrowers’ applications, while other lenders had approved a combined 71 percent of their Black customers’ applications. By contrast, 72 percent of Wells Fargo’s white customers had their applications approved.

Mr. Turner said Wells Fargo had done its own analysis of its lending practices using the same data that Bloomberg had used as well as data that is privately held by the bank.

“Our analysis shows that additional, legitimate, credit-related factors that are not available in H.M.D.A. data were responsible for the differences in our refinance approval rate for Black homeowners.”