# What is the difference between a TFolder and a TDirectory?

**URL:** <https://root-forum.cern.ch/t/what-is-the-difference-between-a-tfolder-and-a-tdirectory/28256>\
**Category:** Howto\
**Created:** [March 9, 2018, 3:56pm UTC](https://root-forum.cern.ch/t/what-is-the-difference-between-a-tfolder-and-a-tdirectory/28256 "2018-03-09T15:56:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [March 9, 2018, 3:56pm UTC](https://root-forum.cern.ch/t/what-is-the-difference-between-a-tfolder-and-a-tdirectory/28256/1 "2018-03-09T15:56:06Z")

</div>

`TFolder` manages a hierarchy of objects in memory. `TDirectory` is doing it for a file. One can save the `TFolder` structure to a directory in a file.
