Multi-microgrids offer various benefits including the decreased overloading of a single microgrid, more options during faulty conditions, and more utilization of renewable energy resources. However, the implementation of a multi-microgrid brings the challenges such as power system complexity, interconnection issues, bidirectional power flow management, and power flow balancing. In the presence of these challenges, the power flow stability of the multi-microgrids is a challenging problem. In this context, this study evaluates a transient stability analysis model in multi-microgrids using solar photovoltaics, wind power, and a unified power flow controller (UPFC). UPFC offers a more robust power flow control strategy compared with other flexible alternating current transmission systems (FACTS) devices. First, a multi-microgrid structure consisting of the two microgrids was designed in DIgSILENT PowerFactory software. Second, the load flow calculation was performed in the absence and presence of UPFC, short circuit fault, and grid connection. Third, the electromagnetic transients (EMT) simulation was performed for all these situations. The results exhibited that the UPFC would offer significant power flow stability in the multi-microgrids. It was observed that the UPFC resulted in more transient stability in the microgrid where it was located. However, it improved the power flow quality at all the locations in the multi-microgrids. In addition, UPFC offered significant transient stability during the fault occurrence. The results offer various insights into power flow management in multi-microgrids.