Abstract The automated segmentation of brain tissues and lesions represents a widely investigated research topic. The Brain Tumor Segmentation Challenges (BraTS) organized yearly since 2012 provided standard training and testing data and a unified evaluation framework to the research community, which provoked an intensification in this research field. This paper proposes a solution to the brain tumor segmentation problem, which is built upon the U-net architecture that is very popular in medical imaging. The proposed procedure involves two identical, cascaded U-net networks with 3D convolution. The first stage produces an initial segmentation of a brain volume, while the second stage applies a post-processing based on the labels provided by the first stage. In the first U-net based classification, each pixel is characterized by the four observed features (T1, T2, T1c, and FLAIR), while the second identical U-net works with four features extracted from the volumetric neighborhood of the pixels, representing the ratio of pixels with positive initial labeling within the neighborhood. Statistical accuracy indexes are employed to evaluate the initial and final segmentation of each MRI record. Tests based on BraTS 2019 training data set led to average Dice scores over 87%. The postprocessing step can increase the average Dice scores by 0.5%, it improves more those volumes whose initial segmentation was less successful.