Multi-modal image fusion aims to generate fused images that integrate significant features and detailed textures from various modalities. Most existing methods fail to exploit complementary information across multiple temporal steps and rely on fixed loss weights, resulting in sub-optimal fusion quality. To address these issues, we proposed a Temporal Dynamic Fusion and adaptive feature refinement network (TDFuse) for infrared and visible image fusion. The network consisted of a Temporal Dynamic Fusion Module (TDFM), which simulated temporal processing mechanism through multi-time-step parallel feature extraction, and a Temporal-aware Adaptive weighted Loss function (TA-Loss). The former employed three Transformer encoder branches for different time steps, whose importance was evaluated by the dynamic weight network, thereby enabling adaptive feature fusion. The latter adjusted loss weights based on input images in real time to dynamically optimize the training process. Experimental results on the TNO and RoadScene datasets demonstrate that TDFuse outperforms other state-of-the-art methods, particularly in the Structural Similarity Index Measure (SSIM), with improvements of 12.2% and 12.3%, respectively, compared to CDDFuse (Correlation-Driven feature Decomposition Fusion), showcasing its powerful fusion capability and temporal adaptability. Additionally, TDFuse demonstrates outstanding performance in preserving detailed information and edge structures, providing a new research direction for multimodal image fusion.