The macrame X and O pattern is a classic knotting technique that creates alternating X and O shapes, often used for wall hangings, plant hangers, and keychains. To make it, you work with paired cords, tying a series of square knots and half-hitch knots in a specific sequence. For example, with four cords, you tie a square knot with the two middle cords as fillers, then wrap the outer cords around them to form the O, and cross them to form the X.
Understand the X and O Knots
The X is typically a half-hitch knot, and the O is a wrapping knot or a series of half-hitches that circle the filler cords. In the classic pattern, you alternate between these two to create a repeating design. The X is formed by taking the left cord over the right and through the loop, then the right over the left and through the loop—this is a double half-hitch. The O is made by wrapping one cord around the filler cords several times, then tucking the end through the loop to secure.
For a simple X and O pattern, you need four cords (or two folded cords). The two middle cords are the fillers, and the two outer cords do the knotting. The X uses the outer cords to tie half-hitches around the fillers, and the O uses one outer cord to wrap around both fillers.
Gather Your Materials and Set Up
You’ll need macrame cord (3mm or 4mm cotton rope works well), a mounting ring or dowel, scissors, and a tape measure. Cut four cords, each about 4 feet (1.2 m) long for a small wall hanging. Fold each cord in half and attach them to your ring using a lark’s head knot, so you have eight working ends. Arrange them so you have four groups of two cords each.
Secure your work to a clipboard or tie it to a dowel so the cords stay taut. For a plant hanger, you might start with a gathering knot at the top. The number of cords you need depends on the width of your project: each X and O repeat uses four cords, so for a wider piece, add more cords in multiples of four.
Tie the X Knot
Take four cords: two middle fillers and two outer working cords. To make the X, tie a double half-hitch with the left outer cord over the fillers: bring the left cord over the fillers, under the right filler, and up through the loop. Then bring it over the fillers again, under the right filler, and through the loop. Repeat with the right outer cord, but mirror the direction: over the fillers, under the left filler, and through the loop, twice. This creates an X shape over the fillers.
Keep the knots snug but not so tight that they pucker. The X should sit flat against the fillers. Practice on a scrap piece until the tension is even.
Tie the O Knot
For the O, use the same four cords. Take the left outer cord and wrap it around both filler cords in a tight spiral, about 3 to 4 wraps. Then tuck the end of the wrapping cord through the loop at the top of the wraps, and pull to tighten. This creates a raised ring, the O. Alternatively, you can tie a series of half-hitches around the fillers to form a braided ring.
Make sure the wraps are close together and even. The O should be about the same width as the X. If your O looks loose, tighten the tuck or add one more wrap.
Alternate X and O for the Pattern
Work from left to right across your cords. Start with the first four cords, tie an X, then the next four, tie an X, and so on. On the next row, shift the grouping by two cords: take cords 3-6, tie an O, then cords 7-10, tie an O, etc. This staggering creates the alternating diagonal pattern. Continue alternating rows of Xs and Os, or mix them in a sequence like X, O, X, O.
For a classic X and O pattern, you might do a row of Xs, then a row of Os, then repeat. Or you can create a checkerboard effect by alternating within the same row. The key is to keep the spacing consistent—about 1 to 2 inches (2.5 to 5 cm) between rows, depending on your cord thickness.
Worked Example: Small Wall Hanging
Let’s make a small wall hanging with 8 cords (4 folded cords on a 6-inch / 15 cm dowel). Attach the cords with lark’s head knots. You’ll have 4 groups of 2 cords. For row 1, group cords 1-4 and tie an X, then group cords 5-8 and tie an X. For row 2, group cords 3-6 and tie an O, leaving cords 1-2 and 7-8 free. For row 3, group cords 1-4 and tie an X, and cords 5-8 tie an X again. Repeat rows 2 and 3 until the piece is about 12 inches (30 cm) long. Finish with a row of square knots or a gathering knot at the bottom.
This pattern uses about 4 feet (1.2 m) of cord per strand, so you’ll have enough for a 12-inch piece. If you want a longer piece, cut longer cords: add 1 foot (30 cm) for every 3 inches (7.5 cm) of finished length.
Fix Common Tension and Spacing Issues
The most common mistake is uneven tension, which makes the Xs and Os look lopsided. To fix this, keep the filler cords straight and taut while you tie the knots. If your Xs are too tight, the fillers will bend; if too loose, the X will look sloppy. Practice on a few inches of cord before starting your project.
Another issue is spacing: if you don’t leave enough space between rows, the pattern looks cramped. A good rule of thumb is to leave a gap equal to the width of one knot (about 1 inch / 2.5 cm for 4mm cord). If you’re following a pattern, measure the distance between rows as you go.
If your O knots slide down the fillers, secure them with a small dot of fabric glue on the back, or tie a half-hitch below the O to lock it in place.
Finish and Display Your Piece
Once you’ve reached your desired length, finish the bottom with a row of square knots or a gathering knot. Trim the ends to your preferred length, and brush out the ends for a fringe if you like. To hang, attach a dowel or ring at the top, or use a wooden hoop for a circular design.
For a plant hanger, you’ll typically work with 8 cords (4 folded), and you’ll add beads or rings between the X and O sections. The same X and O technique works, but you’ll space the knots wider to accommodate a pot. Always check that your knots are secure before hanging anything heavy.
Macrame X and O for Plant Hangers and Keychains
For a plant hanger, the X and O pattern is often used in the middle section. Start with a gathering knot at the top, then divide the 8 cords into 4 pairs. Tie a square knot with each pair, then use the X and O pattern to create a decorative band. For a keychain, use 4 cords (2 folded) and work the pattern in miniature—use thinner cord (2mm) and smaller knots.
If you’re making a keychain, the X and O pattern can be just 2 to 3 repeats. Attach a key ring at the top and finish with a bead at the bottom. For a plant hanger, the pattern should be about 6-8 inches (15-20 cm) long, and you’ll need to adjust the cord length: about 8 feet (2.4 m) per cord for a 3-foot (90 cm) hanger.
Where to Go Next: Mixing Patterns and Adding Beads
Once you’ve mastered the X and O, try combining it with square knots or spiral knots. You can add wooden beads by threading them onto the filler cords before tying the O. The beads sit between the X and O, adding texture. For a more complex design, alternate rows of Xs and Os with rows of square knots.
If you’re following a written pattern, note that some patterns call the X a “half-hitch” and the O a “wrap knot.” The terminology varies, but the technique is the same. If you get stuck, watch a video tutorial for the specific knot sequence—seeing the motion helps.
Common follow-up questions:
- How many cords do I need for a wider piece? Each X and O repeat uses 4 cords, so for a 12-inch wide wall hanging, you might need 12 cords (6 folded). Add cords in multiples of 4.
- Why do my O knots come undone? Make sure you tuck the end through the loop and pull tight. If it still slips, add a tiny dot of glue or tie an extra half-hitch.
- Can I use different cord sizes? Yes, but adjust the number of wraps—thicker cord needs fewer wraps (2-3), thinner cord needs more (4-5).
- How do I make the X and O pattern for a round hoop? Work the pattern in a circle, joining the ends with a square knot. You’ll need an even number of cords.
Spotted a mistake? Tell us and we will correct it. How we write and check articles.