---
title: "M PLUS 2 + M PLUS 1 Code Font Pairing - Free Fonts | Mrs Font"
description: "M PLUS 2 headings with M PLUS 1 Code body text. Both cover Japanese and Latin. Preview it live, press Space for new pairings and copy the CSS."
url: https://mrsfont.web.app/pair/m-plus-2+m-plus-1-code
---

# M PLUS 2 + M PLUS 1 Code

Font pairing: M PLUS 2 for headings, M PLUS 1 Code for body text.

Heading [M PLUS 2](https://mrsfont.web.app/font/m-plus-2) Open source

Body [M PLUS 1 Code](https://mrsfont.web.app/font/m-plus-1-code) Open source

Press `Space` for a new pairing

[Preview site](https://mrsfont.web.app/extension)

- Shared scripts
- Superfamily
- Similar x-height
- Both open source

## Why M PLUS 2 and M PLUS 1 Code work

- Both cover Japanese and Latin.
- Same superfamily: M PLUS 2 + M PLUS 1 Code, designed to work together.
- Matching x-heights (52% and 52% of the font size), so they mix evenly on one line.
- Both open source: free to modify, share, self-host and subset, including for commercial use.

## M PLUS 2 and M PLUS 1 Code compared

|  | [M PLUS 2](https://mrsfont.web.app/font/m-plus-2) Headings | [M PLUS 1 Code](https://mrsfont.web.app/font/m-plus-1-code) Text |
| --- | --- | --- |
| Style | Humanist sans | Monospace |
| Stroke contrast | Low | Low |
| x-height | 0.52 em | 0.52 em |
| Average width | 0.54 em | 0.50 em |
| Weights | 9 weights, 100-900 (variable) | 7 weights, 100-700 (variable) |
| Italics | No | No |
| Scripts | Japanese, Latin, Latin Extended and Vietnamese | Japanese, Latin, Latin Extended and Vietnamese |
| Designer | Coji Morishita | Coji Morishita |
| Licence | SIL Open Font License 1.1 | SIL Open Font License 1.1 |

- x-height: within 1% of each other, so the two can share a line at the same size.
- Width: M PLUS 1 Code runs 8% narrower than M PLUS 2 on average.
- Weights: M PLUS 2 at 700 for headings, M PLUS 1 Code at 400 for text and 700 for bold. M PLUS 1 Code has no italics, so browsers slant it for emphasis.
- Scripts: both cover Japanese, Latin, Latin Extended and Vietnamese.

## The two fonts

Heading [M PLUS 2](https://mrsfont.web.app/font/m-plus-2)

Open source Sans Serif · Humanist Google Fonts

Free for personal and commercial use. You can self-host, subset and embed it.

[About M PLUS 2](https://mrsfont.web.app/font/m-plus-2) [Download](https://api.fontsource.org/v1/download/m-plus-2)

Body [M PLUS 1 Code](https://mrsfont.web.app/font/m-plus-1-code)

Open source Monospace · Monospace Google Fonts

Free for personal and commercial use. You can self-host, subset and embed it.

[About M PLUS 1 Code](https://mrsfont.web.app/font/m-plus-1-code) [Download](https://api.fontsource.org/v1/download/m-plus-1-code)

### CSS for this pairing

```
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+2:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1+Code:wght@100;200;300;400;500;600;700&display=swap');

h1, h2, h3 {
  font-family: 'M PLUS 2', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
}
body {
  font-family: 'M PLUS 1 Code', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
```

## Pair M PLUS 2 with…

- [M PLUS 2](https://mrsfont.web.app/pair/m-plus-2+source-serif-4) · **Source Serif 4** · Open source
- [M PLUS 2](https://mrsfont.web.app/pair/m-plus-2+pt-serif) · **PT Serif** · Open source
- [M PLUS 2](https://mrsfont.web.app/pair/m-plus-2+merriweather) · **Merriweather** · Open source
- [M PLUS 2](https://mrsfont.web.app/pair/m-plus-2+andada-pro) · **Andada Pro** · Open source
- [M PLUS 2](https://mrsfont.web.app/pair/m-plus-2+alegreya) · **Alegreya** · Open source
- [M PLUS 2](https://mrsfont.web.app/pair/m-plus-2+platypi) · **Platypi** · Open source

## Pair M PLUS 1 Code with…

- [M PLUS 1](https://mrsfont.web.app/pair/m-plus-1+m-plus-1-code) · **M PLUS 1 Code** · Open source
- [M PLUS Code Latin](https://mrsfont.web.app/pair/m-plus-code-latin+m-plus-1-code) · **M PLUS 1 Code** · Open source
- [Playfair Display](https://mrsfont.web.app/pair/playfair-display+m-plus-1-code) · **M PLUS 1 Code** · Open source
- [PT Serif](https://mrsfont.web.app/pair/pt-serif+m-plus-1-code) · **M PLUS 1 Code** · Open source
- [Neuton](https://mrsfont.web.app/pair/neuton+m-plus-1-code) · **M PLUS 1 Code** · Open source
- [Laila](https://mrsfont.web.app/pair/laila+m-plus-1-code) · **M PLUS 1 Code** · Open source

**How does it work?**

[See how the pairing generator works](https://mrsfont.web.app/pair#how-h)

[Explore more font pairings →](https://mrsfont.web.app/pairings)
