Lucas Till, Jack Reynor, Jeremy Irvine, Alex Pettyfer, Brenton Thwaites, Alexander Ludwig oraz Luke Bracey byli brani pod uwagę przy obsadzaniu głównej roli.
Jeremy Irvine został wybrany do roli Tobiasa "Four" Eatona, lecz odrzucił propozycję, gdyż nie chciał być postrzegany jako idol nastolatek.
Miles Teller brał udział w przesłuchaniu do roli Four. Po obejrzeniu filmu The Spectacular Now reżyser zaproponował mu rolę Erica, który powinien być przeciwieństwem Four, jednakże Teller odrzucił tę propozycję, twierdząc, że nie mógłby konkurować z Theo Jamesem. Przyjął jednak rolę Petera, po namowach koleżanki z planu Shailene Woodley.
Początkowo postać Andrew Priora miał zagrać Aaron Eckhart, lecz ten porzucił rolę tuż przed rozpoczęciem zdjęć do filmu. Ostatecznie Priora zagrał Tony Goldwyn.
Rękojeść noża, którym ręka Jeanine Matthews jest przybita do ekranu komputera, chwieje się w momencie kiedy kobieta krzyczy.
Kiedy Jeanine łapie Tris za ramię na jej palcu widać krew, która znika w następnym ujęciu.
Podczas pierwszego lunchu Tris w nowej frakcji na stole widać pojemnik wypełniony hamburgerami, który w następnym ujęciu jest prawie pusty.
Kiedy Tris wybiera, dokąd pójdzie podczas ceremonii w misce erudycji jest czysta woda, mimo że wybierano już tą frakcję i powinna być zaczerwieniona.
Gdy Cztery rzuca pierwszym nożem do Tris, w ręku trzyma jeszcze trzy sztuki. Podczas drugiego rzutu wszystkie one znikają z jego dłoni.
Kiedy Tris i Cztery wspinają się na diabelski młyn, jeden szczebel załamuje się. Gdy mężczyzna stabilizuje stopę dziewczyny, ujęcie pokazuje, że wszystkie stopnie są całe.
Zdjęcia do filmu były kręcone w Chicago (Illinois, USA) i Los Angeles (Kalifornia, USA).
Okres zdjęciowy trwał od kwietnia do 16 lipca 2013 roku.
Theo James wszystkie swoje sceny walk wykonał osobiście bez dublerów.