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

# separatorInset

The default inset of cell separators.

```
var separatorInset: UIEdgeInsets { get set }
```

## Discussion

In iOS 7 and later, cell separators don’t extend all the way to the edge of the table view. This property sets the default inset for all cells in the table, much as [`rowHeight`](/documentation/UIKit/UITableView/rowHeight) sets the default height for cells. It’s also used for managing the “extra” separators drawn at the bottom of plain style tables.

For example, to specify a table view where the default left separator inset is 3 points and the default right separator inset is 11, you’d write:

```objc
tableView.separatorInset = UIEdgeInsetsMake(0, 3, 0, 11);
```

If every cell in a table contains an image view of the same size, by default iOS vertically aligns the leading edge of all separators. In a table that mixes text-only cells with cells that contain image views, you can use the [`separatorInset`](/documentation/UIKit/UITableView/separatorInset) property to ensure that the separators are vertically aligned.

In a right-to-left user interface, an inset that you set using the [`separatorInset`](/documentation/UIKit/UITableView/separatorInset) property automatically flips its left and right measurements.

### Special considerations

Only left and right insets are honored. In a right-to-left user interface, the inset measurements are automatically flipped.

---

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)