Opening the iTunes Store.If iTunes doesn’t open, click the iTunes application icon in your Dock or on your Windows desktop.Progress Indicator
Opening the iBooks Store.If iBooks doesn't open, click the iBooks app in your Dock.Progress Indicator

iTunes is the world's easiest way to organize and add to your digital media collection.

We are unable to find iTunes on your computer. To buy and download Trainyard by Matt Rix, get iTunes now.

Already have iTunes? Click I Have iTunes to open it now.

I Have iTunes Free Download
iTunes for Mac + PC


By Matt Rix

Open iTunes to buy and download apps.


Trainyard has the best user review scores on the entire App Store!

+ Innovative and challenging puzzle mechanic
+ Smooth difficulty curve
+ 100 main puzzles and over 50 bonus puzzles
+ Hundreds of ways to solve each puzzle
+ Puzzle editor: create your own puzzles
+ Retina display support
+ Easily share your unique solutions on
+ Looks GREAT on the iPad
+ Engineered for low battery usage
+ Colour-blind mode
+ Game Center support
+ A year in the making
+ Developed in my spare time (support indie games!)

[NOTE: there is a bug in iOS 8 where the game will freeze after a puzzle. To fix it, press Credits -> Rate It. You do not need to actually rate the game, just pressing that button will fix it. Sorry! ]

Stuck on a puzzle? Visit where there are over *1.5 million* player-submitted solutions.

Trainyard is a puzzle solving game unlike any that you've ever played. It's easy to learn but very tough to master. Your job is simple: get each train to a goal station. Red trains go to red stations, blue trains go to blue stations, etc. You control the trains by drawing track for them to follow. There isn't a time limit or even a score; the only thing you need to do is figure out a solution for each puzzle.

The first few puzzles are almost too easy, but as the difficulty increases you'll be thankful that you were able to practice the fundamentals of drawing track. As the game progresses, you'll have to use colour theory to combine trains of different colours, use timing to merge and split trains, and use every inch of your brain in your quest to beat the game.

Find out more at

Developed by Matt Rix (

Proudly made in Canada.

Think you beat the whole game? Try to solve all the bonus puzzles! Done that? Try to match the track counts on

Trainyard makes use of these excellent libraries:

+ Cocos2D-iPhone by Ricardo Quesada
+ XAuthTwitterEngine by Aral Balkan
+ Twitter+OAuth code by Ben Gottlieb
+ MGTwitterEngine by Matt Gemmell
+ ASIHTTPRequest by All-Seeing Interactive
+ SFHFKeychainUtils by Buzz Andersen
+ TouchXML by Jonathan Wight
+ FMDB by Flying Meat Inc.

What's New in Version 1.66

+ Make your own puzzles!
+ Achievements
+ Game Center
+ Universal (works on iPad)
+ New puzzles
+ Hundreds of other bug fixes and improvements


iPhone Screenshot 1
iPhone Screenshot 2
iPhone Screenshot 3
iPhone Screenshot 4
iPhone Screenshot 5
iPad Screenshot 1
iPad Screenshot 2
iPad Screenshot 3
iPad Screenshot 4
iPad Screenshot 5

Customer Reviews

Excellent and fascinating

I like this one a lot. A deceptively simple idea, but lots of (nice) puzzling to work out solutions which give the grey matter a good puzzle to work on with no shoot 'em up or time pressure. Definitely worth it - and great for a short break or some casual activity... I can spend a lot of time on this one.
I originally wondered if it might become less interesting as one progressed. Nope. And then here comes yet another release and more improvements. Plus it's now much easier to revisit instructions & tutes (thank you for that). Absolutely outstanding app and well worth getting. If only all apps were as excellent.

Best Game Ever

This has got to be the best game I've played on my iPod. My friend has this game and he showed me how to play! I downloaded TranYard Express and completed that so I got the bought TrainYard and completed that ;) The only thing though, just this week all the puzzles I made were just gone I didn't mind but I could not make anymore or solve anyone else's :/ I did everything! So I deleted it and reinstalled it xD I'm going well solving them all and making really good puzzles (I think) so yeah I really love this game! Thank you for making this game! ;)

Beautiful game

Not many games compare to this one. This is one of the most visually appealing games available on iOS and is one of the only games that actually give me satisfaction after completing a level. Ever since the introduction of user made levels I have to give this 5 stars even though it deserved it before, but having those extra levels pushed me to write this review as I would not normally write reviews for apps. No problems with the app at all, just pure perfection. 10/10 👍

View In iTunes
This app is designed for both iPhone and iPad
  • $1.29
  • Category: Games
  • Updated:
  • Version: 1.66
  • Size: 8.1 MB
  • Language: English
  • Seller:

Compatibility: Requires iOS 3.0 or later. Compatible with iPhone, iPad, and iPod touch.

Customer Ratings

Current Version:
All Versions: