Date-Filled Railroad Cookies with Cinnamon Spice

Railroad cookies are a nostalgic American classic featuring a tender spiced dough wrapped around a thick, jammy date and pecan filling. Named for their resemblance to railroad tracks when sliced, these cookies deliver a perfect balance of chewy filling and buttery cookie texture. The warm cinnamon and cream of tartar give subtle depth, while vanilla and ground pecans add richness to the date center. The dough is firm enough to roll and shape without cracking, making these ideal for bakers seeking a more involved cookie project. Serve these at holiday gatherings, box them as gifts, or pack them for lunch boxes. This version stays true to the classic recipe structure while yielding a generous 60-70 cookies from a manageable two-portion dough system that allows for advance preparation.
Ingredients
- 2 cup dates, finely choppeddried apricots or prunes1:1fruitfilling
apricots give brighter tang, prunes add deeper molasses notes; chop finely and adjust water if needed
Full guide → - ½ cup granulated sugar, for filling
- ½ cup water, for filling
- 2 teaspoon vanilla extract, for filling
- ½ cup ground pecans, for fillingground walnuts1:1nutsearthy
walnuts are slightly more bitter; hazelnuts work for milder nuttiness
- 1 cup shortening, butter flavorbutter1:1neutraldairyadds dairy
butter adds more flavor and slightly crisper edges; use unsalted to control salt
Full guide → - 2 cup granulated sugar, for dough
- 1 cup packed light brown sugar, for dough
- 3 large eggs, for dough
- 2 teaspoon vanilla, for dough
- 4 cup all-purpose flour, for doughcake flour7/8 cup cake flour per 1 cup AP flourtenderbaking
yields slightly more delicate crumb but less structure; reduce slightly
- 1 teaspoon baking soda, for dough
- 1 teaspoon ground cinnamon, for dough
- ½ teaspoon cream of tartar, for doughlemon juice or white vinegar1 teaspoon cream of tartar = 1/2 teaspoon lemon juice or vinegaracidicleaveningdairy-free
adjusts rise and tang; vinegar adds stronger note
Full guide → - ½ teaspoon salt, for dough
Instructions
- 1
Combine dates, granulated sugar, and water in a medium saucepan and bring to boil.
- 2
Reduce heat and simmer over medium-low, stirring constantly for 3 minutes or until water is absorbed and mixture is thick, watching to prevent scorching.
- 3
Stir in vanilla and ground pecans, then cool completely.
- 4
In a very large mixing bowl, beat shortening, granulated sugar, and brown sugar together.
- 5
Add eggs and vanilla to the sugar mixture and beat well.
- 6
In a separate medium bowl, combine flour, baking soda, cinnamon, cream of tartar, and salt.
- 7
Add the dry ingredients to the sugar mixture and beat well, then beat or stir in remaining flour until a firm dough forms.
- 8
Divide dough into two portions, wrap, and chill until easy to handle.
- 9
On a lightly floured surface, roll half the dough into a 13 by 9 inch rectangle about 1/4 inch thick.
- 10
Spread with half the filling, then roll up tightly jelly-roll style starting from one long edge.
- 11
Cover with plastic wrap and refrigerate for 2 to 24 hours.
- 12
Repeat with remaining dough and filling.
- 13
Slice rolls into 1/4 inch thick slices and place about 2 inches apart on a greased cookie sheet.
- 14
Bake at 350 degrees Fahrenheit for about 8 minutes or until lightly browned.
- 15
Cool on wire rack and store in a tightly covered container.
Tips
Chill dough for 2-24 hours after rolling: this firms the dough, making slicing cleaner and preventing filling from leaking during baking. The longer rest also helps flavors meld and makes handling easier.
Stir the date mixture constantly during simmering to prevent the bottom from scorching, which can turn dates bitter and darken the filling unevenly, compromising texture and taste.
Place cookies 2 inches apart on the baking sheet: these cookies spread slightly and need space, and proximity causes uneven browning and cookies to merge together.
Good to Know
Airtight container at room temperature for up to 5 days. Cookies stay soft and filling stays moist when well sealed.
Dough rolls can be wrapped and frozen up to 1 month before slicing and baking. Slice from frozen (add 1-2 minutes to bake time) or thaw 30 minutes first. Baked cookies freeze up to 2 months.
At room temperature with coffee, tea, or milk. Serve at holiday gatherings, in lunch boxes, or boxed as gifts.
Common Mistakes
Do not skip the chill step after rolling and filling: warm dough slices cleanly, and cold filling stays intact during baking without leaking.
Do not brown cookies too dark: they continue cooking on the hot sheet; remove when just lightly golden to avoid dry, crisp texture.
Do not skip constant stirring during date cooking: mixture scorches easily and will taste bitter and look dark, ruining the filling.
Substitutions
Dairy-Free Swaps
butter adds more flavor and slightly crisper edges; use unsalted to control salt
Full guide →adjusts rise and tang; vinegar adds stronger note
Full guide →General Alternatives
walnuts are slightly more bitter; hazelnuts work for milder nuttiness
yields slightly more delicate crumb but less structure; reduce slightly
Full guide →apricots give brighter tang, prunes add deeper molasses notes; chop finely and adjust water if needed
Full guide →FAQ
Can I make these cookies ahead?
Yes. Prepare dough rolls up to 24 hours ahead; wrap and refrigerate. For longer storage, freeze unbaked rolls up to 1 month. Thaw or slice from frozen and bake as directed (add 1-2 minutes if frozen). Baked cookies store 5 days in an airtight container.
Can I freeze the baked cookies?
Yes. Cool completely, layer with parchment in an airtight container, and freeze up to 2 months. Thaw at room temperature for 1-2 hours before serving. Freezing preserves both the dough's texture and the filling's moisture.
What if the filling leaks when I slice the rolls?
The dough and filling must be completely cold. Refrigerate rolled dough for the full 2-24 hours before slicing. Use a sharp knife and slice with a gentle downward motion without sawing. If filling still leaks, dough was too warm or filling too soft.