> For the complete documentation index, see [llms.txt](https://handbook.musescore.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://handbook.musescore.org/3/notation/barlines.md).

# Barlines

A range of barline symbols for most ordinary purposes can be found in the **Barlines** palette (Basic [workspace](/3/basics/workspaces.md)); repeat barlines, only, are also available in the **Repeats & Jumps** palette (Basic and Advanced). Additional symbols can be found in the **Barlines** palette of the Advanced workspace. It is also possible to create your own custom barlines ([see below](#custom-barlines)).

<figure><img src="/files/UoP9RhgYhyl9dT3iprL4" alt="Barlines palette in the Advanced workspace"><figcaption></figcaption></figure>

## Change barline type

To change an existing barline, use one of the following:

* Select a barline, or measure, in the score, then click an icon in the Barlines palette (double-click in versions prior to 3.4).
* Drag an icon from the Barlines palette onto a barline, or measure, in the score.
* Select an existing barline in the score, then adjust "Style" in the "Barline" section of the [Inspector](/3/basics/inspector.md).

**To change a non-single to a single barline**:

* Select the barline and press <kbd>Del</kbd>.

**To hide a barline**:

* Select the line and press <kbd>V</kbd>, or uncheck **Visible** in the Inspector.

## Insert barline

To insert a new barline between existing ones, either:

* Drag an icon from the Barlines palette onto a note or rest.
* Select a note or rest, then click an icon in the Barlines palette (double-click in versions prior to 3.4).

### Split a measure

You can insert a barline in order split a measure into two separate ones. Use one of the following methods:

* Press <kbd>Ctrl</kbd> (Mac <kbd>Cmd</kbd>) and drag the line from the Barline palette to the first note of the new measure.
* Select the first note of the new measure and press <kbd>Ctrl</kbd> (Mac <kbd>Cmd</kbd>) while you click a barline in the Barline palette (double-click in versions prior to 3.4).
* If the first two methods cause crashes in Musescore 3.6.2 on Windows, select the first note of the new measure and press <kbd>Alt</kbd> while you double-click a barline in the Barline.

**Note:** As of version 3.1 (or earlier), all barlines entered this way are entered as Normal Barlines. *See also* [Split a measure](/3/basics/measure-operations.md#split-a-measure).

## Custom barlines

It is possible to create custom barlines by selecting one or more barlines, and adjusting the properties in the "Barlines" section of the **Inspector**:

* **Style**: Choose from a range of preset barlines.
* **Span to next staff**: joins the selected barline to the barline in the staff below.
* **Span from**: Sets the position of the *top* of the barline. "0" is the top staff line. Positive numbers start lower down the staff, negative numbers above.
* **Span to**: Sets the position of the *bottom* of the barline (see "Span from").
* **Span presets**: Use the buttons to apply preset customized barlines.

See also [Mensurstrich](/3/advanced-topics/early-music-features.md#mensurstrich).

Changes to color and horizontal/vertical offset can also be made in the Inspector.

## Connect barlines

Barlines may extend over multiple staves, as in the grand staff of a piano, or in an orchestral score to join instruments in the same section. To join barlines:

1. Enter [**Edit mode**](/3/basics/edit-mode.md#enter-edit-mode) on a barline.

   <figure><img src="/files/IcdXhO8Eq7AhsjnXGmjq" alt="Barline edit mode"><figcaption></figcaption></figure>
2. Click on the lower blue handle and drag it down to the staff you wish to connect to. The handle snaps into position so there is no need to position it exactly.
3. Press <kbd>Esc</kbd> to exit [**edit mode**](/3/basics/edit-mode.md). This will update all other relevant barlines as well.

   <figure><img src="/files/gzTaXYmU6Mk5zZRdzXYz" alt="Connected barlines"><figcaption></figcaption></figure>

## Vertical alignment

Vertical alignment is absent because barlines are layout automatically according to content. A workaround for vertical alignment is to insert invisible short rests of same length at another voice, or [Anchors for Dynamics and Hairpins](https://musescore.org/en/project/anchors-dynamics-and-hairpins) plugin to automate the process.

## See also

* [Measure operations](/3/basics/measure-operations.md) (Measure Properties dialog)
* [Measure](/3/formatting/measure-and-horizontal-spacing.md) (Layout and formatting style)
* [Repeats and jumps](/3/notation/repeats-and-jumps.md) for information on repeat barlines
* [Add fermata to barline](/3/notation/articulations-and-ornaments.md#add-fermata-to-a-barline)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://handbook.musescore.org/3/notation/barlines.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
