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


By Matt Rix

This app is only available on the App Store for iOS devices.


New iOS 11 update coming soon! :)

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

Fantastic app, however...

The game is beautifully designed. I got the Express version years ago on first release and loved it. So when I got my new iPad I decided to get the full version. It runs perfectly up until Iqaluit and Joliette. Once you complete a solution you can't simply go to the next level, you need to close the app and re-open then go back to the level list and select the next one form there. I've only played this version on my iPad Air however, so this may not be a problem on the iPhone, but it would be great to see this slight issue resolved. It just ruins the flow of the game and instigates some frustration, closing and opening the app in quick succession.

But once again, one of the best puzzle games in the store and I highly commend you on the originality. Keep up the great work in the future :)

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! ;)

View in iTunes
This app is designed for both iPhone and iPad
  • $0.99
  • 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: