However, details of the settlement were not disclosed.
Highlighting that the US Court has found no wrongdoing by the company, TCS said it "believes that it always acted appropriately notwithstanding the allegations in this case."
"The company has admitted no wrongdoing and none has been found by the court. It agreed to settle this matter to eliminate any on-going distraction to its associates and management," a TCS spokesperson said.
The lawsuit was filed in 2006 by two of TCS' former employees, Gopi Vedachalam and Kangana Beri.
The lawsuit alleged that the company unjustly enriched itself by requiring all of its non-US citizen employees to endorse and sign over their federal and state tax refund checks, among others.