<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSStatusBar/removeStatusItem(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSStatusBar(im)removeStatusItem:"
  },
  "title" : "removeStatusItem(_:)"
}
-->

# removeStatusItem(_:)

Removes the specified status item from the receiver.

```
func removeStatusItem(_ item: NSStatusItem)
```

## Parameters

`item`

The `NSStatusItem` object to remove.

## Discussion

Status items to the left of the specified one in the status bar shift to the right to reclaim its space.

---

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)