<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITableView/sectionHeaderHeight",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITableView(py)sectionHeaderHeight"
  },
  "title" : "sectionHeaderHeight"
}
-->

# sectionHeaderHeight

The height of section headers in the table view.

```
var sectionHeaderHeight: CGFloat { get set }
```

## Discussion

The default value is [`automaticDimension`](/documentation/UIKit/UITableView/automaticDimension). If the delegate doesn’t implement [`tableView(_:heightForHeaderInSection:)`](/documentation/UIKit/UITableViewDelegate/tableView(_:heightForHeaderInSection:)), the table view calculates the height automatically. To override automatic height calculation, set this property to a positive value.

## See Also

[`tableHeaderView`](/documentation/UIKit/UITableView/tableHeaderView)

The view that displays above the table’s content.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)