> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# 765 ILCS 165/40

- **Citation**: 765 ILCS 165/40
- **Node Type**: section
- **Jurisdiction**: Illinois (state)
- **Code Body**: Illinois Compiled Statutes (Aug. 2026 snapshot) (ILCS)
- **Official Source**: [https://www.ilga.gov/legislation/ilcs/ilcs.asp](https://www.ilga.gov/legislation/ilcs/ilcs.asp)
- **Canonical URL**: [https://corpuslaw.us/codes/illinois/chapter-765/part-165/section-40](https://corpuslaw.us/codes/illinois/chapter-765/part-165/section-40)
- **Semantic URL**: [https://corpuslaw.us/codes/illinois/chapter-765/part-165/section-40](https://corpuslaw.us/codes/illinois/chapter-765/part-165/section-40)

## Hierarchy

Chapter 765 > Part 165

## Text

(765 ILCS 165/40) Sec. 40. Costs; attorney's fees. In any litigation arising under this Act or involving the application of this Act, the prevailing party shall be entitled to costs and reasonable attorney's fees. (Source: P.A. 103-296, eff. 7-28-23.)
